/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* Header ve Logo */
.header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: sticky;
    top: -100px;
    z-index: 100;
    transition: top 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    flex: 1;
    text-align: center;
}

.navbar {
    flex: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}




.logo h1 {
    font-size: 2rem;
    background: linear-gradient(45deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: rainbowGlow 3s ease-in-out infinite;
}
.logo h1:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}
.logo h1:active {
    transform: scale(1.02);
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}



.logo h2 {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: rainbowGlow 3s ease-in-out infinite;
}
.logo h2:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}
.logo h2:active {
    transform: scale(1.02);
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}

/* Telegram Butonları - Tüm Cihazlarda */
.telegram-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.telegram-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0088cc, #00a8ff);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    border: 2px solid transparent;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #00a8ff, #0088cc);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.telegram-icon {
    font-size: 18px;
}

.telegram-text {
    font-size: 14px;
}

/* Navigation Menu Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.left-links {
    justify-content: flex-start;
}

.right-links {
    justify-content: flex-end;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 46, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        border-radius: 0 0 20px 20px;
        padding: 2rem 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 99;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .left-links, .right-links {
        justify-content: center;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        margin: 0.5rem 1rem;
        border-radius: 10px;
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
        z-index: 100;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .container {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .logo {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .navbar {
        width: 100%;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .logo h2 {
        font-size: 1.3rem;
    }
}

/* Gif ve Kartlar Alanı */
.content-section {
    padding: 60px 0;
}

/* Side Images - Sadece PC'de gözükür */
.side-image {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1; /* Arka planda kalması için */
    display: none;
    pointer-events: none; /* Tıklamayı engellemez */
}

.side-image.left-side {
    left: -280px;
}

.side-image.right-side {
    right: -280px;
}

.side-image-pc {
    width: 900px;
    height: auto;
    opacity: 0.3;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3)) blur(1px);
}

.side-image-pc:hover {
    opacity: 0.8;
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5)) blur(0px);
}

/* Sadece PC'de göster */
@media (min-width: 1024px) {
    .side-image {
        display: block;
    }
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* Gif + Text Grubu */
.gif-text-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.gif-text-group:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.gif-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gif-link {
    display: block;
    width: 100%;
}

.gif-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.gif-placeholder:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

/* Gif Görselleri */
.gif-image {
    width: 100%;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.gif-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.2);
}

/* Text Kartları */
.text-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.text-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.text-card h3 {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 700;
    animation: rainbowGlow 3s ease-in-out infinite;
}

@keyframes rainbowGlow {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    25% {
        background-position: 100% 50%;
        filter: hue-rotate(90deg);
    }
    50% {
        background-position: 200% 50%;
        filter: hue-rotate(180deg);
    }
    75% {
        background-position: 300% 50%;
        filter: hue-rotate(270deg);
    }
    100% {
        background-position: 400% 50%;
        filter: hue-rotate(360deg);
    }
}

.text-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 500;
}

.action-button {
    background: linear-gradient(45deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080);
    background-size: 300% 300%;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 
        0 8px 25px rgba(255, 107, 107, 0.4),
        0 0 20px rgba(255, 107, 107, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: rainbowButton 3s ease-in-out infinite;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.action-button:hover::before {
    left: 100%;
}

.action-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(255, 107, 107, 0.6),
        0 0 30px rgba(255, 107, 107, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    animation: rainbowButtonHover 1s ease-in-out infinite;
}

.action-button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 
        0 8px 20px rgba(255, 107, 107, 0.5),
        0 0 15px rgba(255, 107, 107, 0.4);
}

@keyframes rainbowButton {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    25% {
        background-position: 100% 50%;
        filter: hue-rotate(90deg);
    }
    50% {
        background-position: 200% 50%;
        filter: hue-rotate(180deg);
    }
    75% {
        background-position: 300% 50%;
        filter: hue-rotate(270deg);
    }
    100% {
        background-position: 400% 50%;
        filter: hue-rotate(360deg);
    }
}

@keyframes rainbowButtonHover {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg) brightness(1.2);
    }
    50% {
        background-position: 200% 50%;
        filter: hue-rotate(180deg) brightness(1.4);
    }
    100% {
        background-position: 400% 50%;
        filter: hue-rotate(360deg) brightness(1.2);
    }
}

/* Kart Tasarımı - Kompakt */
.card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

/* Sol Logo Alanı */
.card-logo {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00d4ff, #ff6b6b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 10px rgba(0, 212, 255, 0.3);
}

/* Orta Metin Alanı */
.card-text {
    flex: 1;
    padding: 0 10px;
}

.card-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

.highlight {
    color: #00d4ff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Sağ Paylaşım Simgesi */
.card-share {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover .share-icon {
    color: #00d4ff;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* PC'de side images göster */
@media (min-width: 1025px) {
    .side-image {
        display: block;
    }
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 1200px;
    }
    
    .side-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 50px;
        max-width: 250px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    .gif-text-group {
        gap: 12px;
    }
    
    .text-card {
        padding: 15px;
    }
    
    .text-card h3 {
        font-size: 1.3rem;
    }
    
    .text-card p {
        font-size: 0.9rem;
    }
    
    .action-button {
        padding: 12px 28px;
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }
    
    .gif-placeholder {
        height: 180px;
        font-size: 1.2rem;
    }
    
    .gif-image {
        /* Height kaldırıldı - otomatik boyut */
    }
    
    .card {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .card-logo {
        width: 45px;
        height: 45px;
    }
    
    .card-text p {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 40px;
        max-width: 200px;
    }
    
    .content-grid {
        gap: 20px;
    }
    
    .gif-text-group {
        gap: 10px;
    }
    
    .text-card {
        padding: 12px;
    }
    
    .text-card h3 {
        font-size: 1.2rem;
    }
    
    .text-card p {
        font-size: 0.85rem;
    }
    
    .action-button {
        padding: 10px 22px;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    
    .gif-placeholder {
        height: 150px;
        font-size: 1rem;
    }
    
    .gif-image {
        /* Height kaldırıldı - otomatik boyut */
    }
    
    .card {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .card-logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-placeholder {
        font-size: 1rem;
    }
    
    .card-text p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .share-icon {
        font-size: 1.2rem;
    }
    
    /* Mobilde de Telegram butonları yan yana */
    .telegram-buttons {
        grid-template-columns: 1fr 1fr;
        max-width: 350px;
        gap: 10px;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gif-text-group {
    animation: fadeInUp 0.6s ease forwards;
}

.gif-text-group:nth-child(1) { animation-delay: 0.1s; }
.gif-text-group:nth-child(2) { animation-delay: 0.2s; }
.gif-text-group:nth-child(3) { animation-delay: 0.3s; }

/* Popup Stack */
.popup-stack {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    padding: 80px 20px 40px;
    z-index: 999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.popup-stack.hidden {
    display: none !important;
}

.popup-stack-header {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #00d4ff;
    font-weight: 600;
    font-size: 1.1rem;
}

.popup-close {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 999px;
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
    cursor: pointer;
}

.popup-list {
    width: min(520px, 100%);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.popup-item {
    width: 100%;
}

.popup-link-block {
    display: block;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.5);
}

.popup-link-block img {
    width: 100%;
    display: block;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.popup-link-block:hover img {
    transform: scale(1.03);
}

@media (max-width: 600px) {
    .popup-stack {
        padding-top: 110px;
    }

    .popup-stack-header {
        flex-direction: column;
        gap: 10px;
    }
}