/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    padding: 20px;
}

/* Background Styles */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(155, 89, 182, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 40% 60%, rgba(46, 204, 113, 0.05) 0%, transparent 20%);
    animation: pulse 15s infinite alternate;
}

.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at center, rgba(52, 152, 219, 0.03) 0%, transparent 70%);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Landscape Card Styles */
.card.landscape {
    position: relative;
    width: 900px;
    max-width: 95%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 30px 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    color: #2c3e50;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.15);
    overflow: hidden;
}

.card.landscape::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3498db, #9b59b6, #2ecc71);
    z-index: -1;
    border-radius: 27px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card.landscape:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.15);
}

.card.landscape:hover::before {
    opacity: 0.3;
}

/* Card Content Layout */
.card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.left-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.right-section {
    flex: 1.2;
    min-width: 350px;
}

/* Online Status */
.online-status {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 14px;
    height: 14px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 12px #2ecc71;
    animation: pulse-status 2s infinite;
    z-index: 10;
}

@keyframes pulse-status {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Logo and Text Styles */
.logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid rgba(52, 152, 219, 0.3);
    padding: 5px;
    transition: transform 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.logo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
}

h1 {
    font-size: 32px;
    margin-bottom: 8px;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.subscribers {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
    font-weight: 400;
    text-align: center;
    width: 100%;
}

.description {
    font-size: 16px;
    margin: 0px 0 0px; /* Reduced from 25px top and 35px bottom to 20px each */
    color: #34495e;
    line-height: 1.6;
    padding: 0 10px;
    font-weight: 400;
    text-align: center;
    width: 100%;
}

/* 3D Slider Styles */
.slider-container-3d {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1200px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide {
    position: absolute;
    width: 220px;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-style: preserve-3d;
    background: white;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Active (center) slide */
.slide.active {
    width: 250px;
    height: 350px;
    transform: translateZ(50px);
    z-index: 3;
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.25);
    border: 2px solid rgba(52, 152, 219, 0.3);
}

/* Side slides */
.slide.prev {
    transform: translateX(-150px) translateZ(-30px) rotateY(15deg);
    filter: blur(2px) brightness(0.95);
    opacity: 0.8;
    z-index: 1;
}

.slide.next {
    transform: translateX(150px) translateZ(-30px) rotateY(-15deg);
    filter: blur(2px) brightness(0.95);
    opacity: 0.8;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3498db;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.dot:hover {
    background: #3498db;
}

/* Button Styles */
.button-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.tg-button {
    text-decoration: none;
    width: 250px;
    height: 55px;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    gap: 10px;
}

.tg-button i {
    font-size: 1.3rem;
}

.tg-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(45deg, #2980b9, #27ae60);
}

.tg-button:active {
    transform: translateY(-2px);
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::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.7s ease;
}

.shine:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 950px) {
    .card.landscape {
        width: 95%;
        padding: 25px;
    }
    
    .card-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .left-section, .right-section {
        min-width: 100%;
    }
    
    .slider-container-3d {
        height: 350px;
    }
    
    .slide {
        width: 180px;
        height: 280px;
    }
    
    .slide.active {
        width: 200px;
        height: 300px;
    }
    
    .slide.prev {
        transform: translateX(-120px) translateZ(-30px) rotateY(15deg);
    }
    
    .slide.next {
        transform: translateX(120px) translateZ(-30px) rotateY(-15deg);
    }
}

@media (max-width: 600px) {
    .card.landscape {
        padding: 20px;
    }
    
    .slider-container-3d {
        height: 300px;
    }
    
    .slide {
        width: 140px;
        height: 220px;
    }
    
    .slide.active {
        width: 160px;
        height: 240px;
    }
    
    .slide.prev {
        transform: translateX(-90px) translateZ(-30px) rotateY(15deg);
    }
    
    .slide.next {
        transform: translateX(90px) translateZ(-30px) rotateY(-15deg);
    }
    
    h1 {
        font-size: 28px;
    }
    
    .description {
        font-size: 15px;
    }
    
    .tg-button {
        width: 220px;
        height: 50px;
        font-size: 1rem;
    }
}