:root {
    --bg-gradient: radial-gradient(circle at center, #1a1a35 0%, #020202 100%);
    --card-inner-bg: #0a0a0a; 
    --success-color: #2ecc71;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease;
}

#loader p {
    color: #5f6368; 
    margin-top: 20px; 
    font-size: 14px;
}

.search-bar {
    width: 320px;
    height: 45px;
    border: 1px solid #5f6368;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 18px;
}

.typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink { 50% { opacity: 0; } }

#main-content {
    display: none;
    opacity: 0;
    transition: opacity 1.5s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#snow-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

h1 {
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

.social-grid {
    display: flex;
    flex-direction: row;
    gap: 45px; 
    justify-content: center;
    align-items: center;
}

.card-wrapper {
    position: relative;
    width: 320px; 
    height: 180px; 
    padding: 3px;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    cursor: pointer;
}

.card-wrapper:hover {
    transform: translateY(-15px) scale(1.03);
}

.card-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(#ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    animation: rotateRGB 3s linear infinite;
}

.card-content {
    position: relative;
    background: var(--card-inner-bg);
    width: 100%;
    height: 100%;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

@keyframes rotateRGB {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-content i { font-size: 48px; margin-bottom: 12px; }
.card-content span { font-size: 1.3rem; font-weight: bold; color: white; }
.card-content p { font-size: 0.8rem; color: #777; margin-top: 8px; }

.card-wrapper.copied .card-content { background: #051a0d; }
.card-wrapper.copied i, .card-wrapper.copied p, .card-wrapper.copied span { color: var(--success-color) !important; }

.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000; /* Loader'ın da üzerinde görünmesi için */
}

.language-selector button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    border-radius: 12px;
    margin-left: 5px;
    backdrop-filter: blur(5px);
}

.language-selector button.active {
    background: white;
    color: black;
}

.language-selector button:hover {
    background: rgba(255, 255, 255, 0.2);
}