@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8b0000;
    --secondary-color: #ffd700;
    --bg-dark: #0a0a0f;
    --bg-card: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --discord: #5865F2;
    --youtube: #FF0000;
    --instagram: #E4405F;
    --facebook: #1877F2;
    --twitter: #1DA1F2;
    --whatsapp: #25D366;
    --telegram: #0088cc;
    --twitch: #9146FF;
    --teamspeak: #1e90ff;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(
    135deg,
    rgba(25, 15, 30, 1),
    rgba(45, 20, 40, 1)
);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 90%, white, transparent);
    background-size: 200% 200%;
    animation: twinkle 8s ease-in-out infinite;
    opacity: 0.6;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.avatar-wrapper:hover .avatar {
    transform: scale(1.05);
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.username {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    background: var(--bg-card);
    border: 2px solid rgba(139, 0, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(6) { animation-delay: 0.6s; }
.link-card:nth-child(7) { animation-delay: 0.7s; }
.link-card:nth-child(8) { animation-delay: 0.8s; }

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.link-card:active {
    transform: translateY(-2px);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.link-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.discord .icon-wrapper { background: var(--discord); }
.youtube .icon-wrapper { background: var(--youtube); }
.instagram .icon-wrapper { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.facebook .icon-wrapper { background: var(--facebook); }
.twitter .icon-wrapper { background: var(--twitter); }
.whatsapp .icon-wrapper { background: var(--whatsapp); }
.telegram .icon-wrapper { background: var(--telegram); }
.twitch .icon-wrapper { background: var(--twitch); }

.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.link-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.link-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.arrow {
    font-size: 18px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.link-card:hover .arrow {
    transform: translateX(5px);
    color: var(--secondary-color);
}

.footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 0, 0, 0.3);
    color: var(--text-secondary);
    font-size: 0.85rem;
    animation: fadeIn 1s ease-out 1s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .container {
        padding: 30px 16px;
    }

    .username {
        font-size: 1.75rem;
    }

    .avatar {
        width: 100px;
        height: 100px;
    }

    .avatar-glow {
        width: 120px;
        height: 120px;
    }

    .link-card {
        padding: 16px;
    }

    .icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .link-title {
        font-size: 1rem;
    }

    .link-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .username {
        font-size: 1.5rem;
    }

    .bio {
        font-size: 0.9rem;
    }

    .link-card {
        padding: 14px;
        gap: 12px;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ============================
   HAKKIMIZDA VE EKİPMAN BÖLÜMLERİ
   ============================ */

/* Section Card Genel Stilleri */
.section-card {
    background: var(--bg-card);
    border: 2px solid rgba(139, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(139, 0, 0, 0.2);
}

.section-icon {
    font-size: 28px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Hakkımızda Bölümü */
.about-section {
    animation-delay: 0.9s;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-image-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(139, 0, 0, 0.3);
    box-shadow: 0 8px 24px rgba(139, 0, 0, 0.3);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-text {
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-text p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-align: justify;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Ekipman Bölümü */
.equipment-section {
    animation-delay: 1s;
}

.equipment-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.equipment-category {
    background: rgba(26, 26, 46, 0.5);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(139, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.equipment-category:hover {
    border-color: rgba(139, 0, 0, 0.4);
    box-shadow: 0 4px 16px rgba(139, 0, 0, 0.2);
}

.category-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-title i {
    font-size: 1rem;
    color: var(--primary-color);
}

.equipment-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.equipment-card {
    background: var(--bg-dark);
    border: 1px solid rgba(139, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.equipment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.equipment-card:hover::before {
    left: 100%;
}

.equipment-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

.equipment-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.equipment-card:hover .equipment-icon {
    transform: scale(1.1) rotate(5deg);
}

.equipment-info {
    flex: 1;
    min-width: 0;
}

.equipment-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.equipment-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    white-space: pre-line;
}

/* Mobil Uyumluluk - Tablet */
@media (max-width: 768px) {
    .section-card {
        padding: 24px 18px;
        margin-top: 30px;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .section-icon {
        font-size: 24px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .category-title {
        font-size: 1.15rem;
    }

    .equipment-items {
        grid-template-columns: 1fr;
    }
}

/* Mobil Uyumluluk - Telefon */
@media (max-width: 480px) {
    .section-card {
        padding: 20px 14px;
        border-radius: 16px;
        margin-top: 24px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
    }

    .section-icon {
        font-size: 22px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .about-text p {
        font-size: 0.88rem;
        text-align: left;
    }

    .category-title {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .equipment-card {
        padding: 12px;
        gap: 12px;
    }

    .equipment-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .equipment-title {
        font-size: 0.95rem;
    }

    .equipment-description {
        font-size: 0.8rem;
    }

    .equipment-items {
        gap: 12px;
    }

    .equipment-category {
        padding: 16px;
    }

    .equipment-grid {
        gap: 20px;
    }
}


/* TeamSpeak internal card */
.link-card.teamspeak {
    border-color: rgba(30, 144, 255, 0.35);
}
.link-card.teamspeak:hover {
    border-color: rgba(30, 144, 255, 0.85);
}

/* Logo Animasyon Banner */
.logo-banner {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(120, 80, 255, 0.25), 0 4px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    background: #000;
    line-height: 0;
}

.logo-banner-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 220px;
    object-fit: cover;
}

.profile-video-wrapper {
    width: 100%;
    max-width: 220px;
    margin: 14px auto 10px;
    display: flex;
    justify-content: center;
}

.profile-video {
    width: 100%;
    display: block;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 8px 25px rgba(0,0,0,.35);
    object-fit: cover;
}
