/* ============================================
   VIPPER.COM.TR - ANA SAYFA STYLES
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Base colors */
    --bg-primary: #0a0a12;
    --bg-secondary: #0f0f1a;
    --bg-card: rgba(16, 16, 30, 0.65);
    --text-primary: #e8e8f0;
    --text-secondary: rgba(200, 200, 220, 0.6);

    /* Accent colors from sub-sites */
    --accent-purple: #8b5cf6;
    --accent-purple-glow: rgba(139, 92, 246, 0.35);
    --accent-orange: #ff5722;
    --accent-orange-glow: rgba(255, 87, 34, 0.35);
    --accent-blue: #6366f1;
    --accent-blue-glow: rgba(99, 102, 241, 0.35);

    /* Card borders */
    --border-subtle: rgba(255, 255, 255, 0.06);

    /* Transitions */
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- Particles Canvas ---------- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------- Ambient Glow Blobs ---------- */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: blobFloat 20s ease-in-out infinite;
}

.glow-purple {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -10%;
    left: 10%;
    animation-delay: 0s;
}

.glow-orange {
    width: 450px;
    height: 450px;
    background: var(--accent-orange);
    top: 30%;
    right: -5%;
    animation-delay: -7s;
}

.glow-blue {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    bottom: -5%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(30px, 40px) scale(1.05); }
}

/* ---------- Container ---------- */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* ---------- Hero / Brand ---------- */
.hero {
    text-align: center;
    padding: 100px 0 60px;
    animation: fadeInUp 1s ease-out;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.logo-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    animation: logoPulse 4s ease-in-out infinite;
}

.logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px var(--accent-purple-glow));
    animation: logoFloat 3s ease-in-out infinite;
    transition: transform 0.4s ease;
    /* Kare kenarları yumuşak eritme */
    -webkit-mask-image: radial-gradient(circle, white 55%, transparent 75%);
    mask-image: radial-gradient(circle, white 55%, transparent 75%);
}

.logo-wrapper:hover .logo-img {
    transform: scale(1.1);
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 40px var(--accent-purple-glow), 0 0 80px rgba(99, 102, 241, 0.15); }
    33% { box-shadow: 0 0 50px var(--accent-orange-glow), 0 0 100px rgba(255, 87, 34, 0.15); }
    66% { box-shadow: 0 0 45px var(--accent-blue-glow), 0 0 90px rgba(99, 102, 241, 0.2); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes logoShine {
    0% { transform: translateX(-100%) rotate(25deg); }
    50%, 100% { transform: translateX(200%) rotate(25deg); }
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #e0e0ff 0%, #ffffff 40%, #c4b5fd 60%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.tagline {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 1px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- Cards Section ---------- */
.cards-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    padding: 20px 0 80px;
}

/* ---------- Card Base ---------- */
.card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 44px 32px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform var(--transition-smooth),
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: cardFadeIn 0.8s ease-out both;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Card glow (behind card) */
.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

/* Card shine effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    transform: skewX(-15deg);
    transition: left 0.8s ease;
    pointer-events: none;
    z-index: 3;
}

.card:hover .card-shine {
    left: 150%;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
}

.card:hover .card-glow {
    opacity: 1;
}

/* Card content */
.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

/* Card icon */
.card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: transform var(--transition-bounce), box-shadow var(--transition-smooth);
}

.card:hover .card-icon {
    transform: scale(1.1) translateY(-4px);
}

.icon-emoji {
    font-size: 36px;
    line-height: 1;
}

/* Card title */
.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color var(--transition-smooth);
}

/* Card description */
.card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 280px;
}

/* Card CTA */
.card-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity var(--transition-smooth),
        transform var(--transition-smooth);
}

.card:hover .card-cta {
    opacity: 1;
    transform: translateY(0);
}

.cta-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.card:hover .cta-arrow {
    transform: translateX(4px);
}

/* ---------- Animasyon Card ---------- */
.card-animasyon .card-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.card-animasyon:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow:
        0 8px 40px rgba(139, 92, 246, 0.15),
        0 0 0 1px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(139, 92, 246, 0.1);
}

.card-animasyon:hover .card-icon {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.25);
}

.card-animasyon .card-glow {
    background: radial-gradient(circle, var(--accent-purple-glow) 0%, transparent 70%);
}

.card-animasyon:hover .card-title {
    color: var(--accent-purple);
}

.card-animasyon .card-cta {
    color: var(--accent-purple);
}

/* ---------- RageMP Card ---------- */
.card-ragemp .card-icon {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(255, 87, 34, 0.05));
    box-shadow: 0 0 30px rgba(255, 87, 34, 0.1);
}

.card-ragemp:hover {
    border-color: rgba(255, 87, 34, 0.3);
    box-shadow:
        0 8px 40px rgba(255, 87, 34, 0.15),
        0 0 0 1px rgba(255, 87, 34, 0.1),
        inset 0 1px 0 rgba(255, 87, 34, 0.1);
}

.card-ragemp:hover .card-icon {
    box-shadow: 0 0 40px rgba(255, 87, 34, 0.25);
}

.card-ragemp .card-glow {
    background: radial-gradient(circle, var(--accent-orange-glow) 0%, transparent 70%);
}

.card-ragemp:hover .card-title {
    color: var(--accent-orange);
}

.card-ragemp .card-cta {
    color: var(--accent-orange);
}

/* ---------- BBCODE Card ---------- */
.card-bbcode .card-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.card-bbcode:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0 8px 40px rgba(99, 102, 241, 0.15),
        0 0 0 1px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(99, 102, 241, 0.1);
}

.card-bbcode:hover .card-icon {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.25);
}

.card-bbcode .card-glow {
    background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 70%);
}

.card-bbcode:hover .card-title {
    color: var(--accent-blue);
}

.card-bbcode .card-cta {
    color: var(--accent-blue);
}

/* ---------- Footer ---------- */
.footer {
    padding: 32px 0;
    text-align: center;
    width: 100%;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
}

.footer p {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .cards-section {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        gap: 20px;
    }

    .brand-name {
        font-size: 40px;
        letter-spacing: 5px;
    }

    .hero {
        padding: 70px 0 40px;
    }

    .tagline {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .logo-img {
        width: 76px;
        height: 76px;
    }

    .card {
        padding: 36px 24px 28px;
        border-radius: 20px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .icon-emoji {
        font-size: 28px;
    }

    .card-title {
        font-size: 20px;
    }
}
