/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 10%;
    right: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Header Styles */
.header {
    text-align: center;
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite alternate;
}

.subtitle {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin-bottom: 20px;
    font-weight: 300;
}

.attract-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.play-text, .win-text {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 50px;
    animation: pulse 1.5s ease-in-out infinite;
}

.play-text {
    background: linear-gradient(45deg, #0ea5e9, #38bdf8);
    color: white;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.35);
}

.win-text {
    background: linear-gradient(45deg, #10b981, #34d399);
    color: white;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.35);
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.3); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Countdown Timer Styles */
.countdown-section {
    padding: 40px 0;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.4);
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.time-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.time-value {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
    animation: countdownPulse 1s ease-in-out;
}

.time-label {
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-separator {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #fff;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes countdownPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Tickets Section */
.tickets-section {
    padding: 60px 0;
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.ticket-box {
    background: linear-gradient(145deg, #0b1220, #0f172a);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.ticket-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pkr10-box {
    background: linear-gradient(145deg, rgba(14,165,233,0.15), rgba(56,189,248,0.15));
    border: 1px solid rgba(56,189,248,0.35);
    color: #e5f6ff;
}

.pkr50-box {
    background: linear-gradient(145deg, rgba(16,185,129,0.15), rgba(52,211,153,0.15));
    border: 1px solid rgba(16,185,129,0.35);
    color: #e9fff6;
}

.ticket-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.ticket-box:hover::before {
    animation: shine 0.6s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

.ticket-header {
    text-align: center;
    margin-bottom: 20px;
}

.ticket-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ticket-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.prize-image-container {
    text-align: center;
    margin: 20px 0;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    overflow: hidden;
}

.prize-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.ticket-info {
    text-align: center;
}

.ticket-rule {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.9;
    font-style: italic;
}

.ticket-selection {
    margin-bottom: 20px;
}

.ticket-selection label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.ticket-selector {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ticket-selector:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.buy-btn {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pkr10-btn {
    background: linear-gradient(45deg, #0284c7, #38bdf8);
    color: white;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
}

.pkr50-btn {
    background: linear-gradient(45deg, #059669, #34d399);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.35);
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.buy-btn:active {
    transform: translateY(0);
}

/* Winners Board Styles */
.winners-section {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.15);
}

.winners-board {
    background: linear-gradient(145deg, #0b1220, #0f172a);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148,163,184,0.15);
    position: relative;
    overflow: hidden;
}

.winners-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.winners-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #38bdf8;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
    position: relative;
}

.winners-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    border-radius: 2px;
}

.winners-content {
    display: grid;
    gap: 30px;
}

.month-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.month-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.month-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    min-width: 60px;
}

.separator-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, transparent);
    margin-left: 20px;
    border-radius: 1px;
}

.winners-list {
    display: grid;
    gap: 15px;
}

.winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.pkr10-winner {
    border-left-color: #38bdf8;
}

.pkr50-winner {
    border-left-color: #34d399;
}

.winner-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.ticket-type {
    font-weight: 600;
    color: #ccc;
    font-size: 0.9rem;
}

.winner-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

/* Note Section */
.note-section {
    padding: 30px 0;
    text-align: center;
}

.note-text {
    font-size: 1.1rem;
    color: #e2e8f0;
    background: rgba(2, 6, 23, 0.6);
    padding: 15px 30px;
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgba(148,163,184, 0.2);
    font-style: italic;
}

/* Social Media Section */
.social-section {
    padding: 40px 0 60px;
    text-align: center;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1419 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    animation: shimmer 3s linear infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    text-align: left;
}

.footer-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #38bdf8;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.footer-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #34d399);
    border-radius: 2px;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.2rem;
    color: #38bdf8;
    width: 20px;
    text-align: center;
}

.contact-link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: #e2e8f0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, rgba(240, 148, 51, 0.2), rgba(188, 24, 136, 0.2));
    border-color: rgba(240, 148, 51, 0.3);
}

.social-link i {
    font-size: 1.3rem;
    width: 20px;
    text-align: center;
}

.social-link.instagram i {
    color: #e6683c;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.footer-note {
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
}

/* Back Section */
.back-section {
    padding: 40px 0 60px;
    text-align: center;
}

.btn-home {
    background: linear-gradient(45deg, #0ea5e9, #38bdf8);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
}

.btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 148, 51, 0.4);
}

.instagram-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(240, 148, 51, 0.6);
}

.instagram-link i {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .attract-text {
        flex-direction: column;
        gap: 10px;
    }
    
    .play-text, .win-text {
        font-size: 1.5rem;
        padding: 10px 20px;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 15px;
    }
    
    .time-value {
        font-size: 2rem;
    }
    
    .tickets-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ticket-box {
        padding: 20px;
    }
    
    .winners-title {
        font-size: 2rem;
    }
    
    .month-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .countdown-timer {
        padding: 20px;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 10px;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .winners-board {
        padding: 20px;
    }
    
    /* Footer responsive */
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
    
    .footer-subtitle {
        font-size: 1.1rem;
    }
    
    .footer-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-links {
        align-items: center;
    }
    
    .social-link {
        justify-content: center;
        max-width: 200px;
        margin: 0 auto;
    }
}
