    @media (max-width: 768px) {
        html {
            -webkit-text-size-adjust: 100%;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }
        
    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        background: var(--bg-primary);
    }
    
    .navbar {
        display: none;
    }
    
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: 70px;
        background: #0f172a; /* Solid fallback */
        background: rgba(15, 23, 42, 0.95);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(37, 99, 235, 0.3);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        box-shadow: 0 4px 30px rgba(37, 99, 235, 0.1);
    }
    
    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
    }
    
    .mobile-logo-circle {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--gradient-primary);
        box-shadow: var(--shadow-luxury);
        animation: pulse-glow 2s ease-in-out infinite;
    }
    
    .mobile-logo-circle i {
        font-size: 16px;
        color: #0a0a0a;
    }
    
    .mobile-brand-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.1;
    }

    .brand-main {
        font-size: 15px;
        font-weight: 800;
        letter-spacing: 0.5px;
        margin: 0;
        background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: inline-block;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .brand-sub {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 1px;
        margin: 0;
        background: linear-gradient(135deg, #2ecc71, #27ae60);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: inline-block;
        text-transform: none;
        opacity: 1;
    }

    /* Hide the old subtitle class if it still exists in other files */
    .mobile-brand-subtitle, .mobile-menu-title, .mobile-menu-subtitle {
        display: none;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(37, 99, 235, 0.1);
        border: 1px solid rgba(37, 99, 235, 0.3);
        border-radius: 10px;
        color: var(--blue-primary);
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        z-index: 20;
    }

    .mobile-menu-toggle:hover {
        background: var(--blue-primary);
        color: var(--bg-primary);
        transform: scale(1.05);
    }

    .mobile-menu-toggle.active {
        background: var(--blue-primary);
        color: var(--bg-primary);
    }
    
    /* Hamburger Icon Animation - Removed custom green lines in favor of FontAwesome icon */
    
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        background: #101010;
        background: rgba(16, 16, 16, 0.98);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        padding: 20px;
        flex-direction: column;
        gap: 12px;
        border-right: 1px solid rgba(0, 255, 136, 0.2);
        transform: translateX(0);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
    }
    
    .mobile-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-header {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 12px;
        display: flex;
        justify-content: flex-start;
    }
    
    .mobile-nav-brand {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .brand-text-column {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .brand-main {
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 0.5px;
        margin: 0;
        background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: inline-block;
        text-transform: uppercase;
        white-space: nowrap;
        line-height: 1.2;
    }

    .brand-sub {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.5px;
        margin: 0;
        background: linear-gradient(135deg, #2ecc71, #27ae60);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: inline-block;
        text-transform: none;
        opacity: 1;
        line-height: 1.2;
    }
    
    .mobile-link {
        padding: 16px 16px;
        font-size: 16px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        color: #a0a0a0;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 14px;
        font-weight: 600;
    }
    
    .mobile-link:hover {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(251, 191, 36, 0.1));
        border-color: var(--blue-primary);
        color: #ffffff;
        transform: translateX(10px);
    }

    .mobile-link::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;
    }

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

    .mobile-link.active {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        color: var(--bg-primary);
        font-weight: 700;
        box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
    }

    .mobile-link i {
        font-size: 20px;
        color: #2563eb;
        width: 24px;
        text-align: center;
    }

    .mobile-link.active i {
        color: var(--bg-primary);
    }
    
    .btn-verify {
        display: none;
    }
    
    .header {
        padding: 20px 0 24px;
        margin-top: 60px; /* Account for fixed nav */
        text-align: center;
    }
    
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        padding: 0;
        margin: 0;
    }
    
    
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: #101010;
        background: rgba(16, 16, 16, 0.98);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        padding: 20px;
        flex-direction: column;
        gap: 12px;
        border-right: 1px solid rgba(0, 255, 136, 0.2);
        transform: translateX(-100%); /* Start off-screen */
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        box-sizing: border-box;
    }

    .coin-container.paused {
        animation-play-state: running !important;
    }
    
    .mobile-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .container {
        width: 100%;
        max-width: 100vw;
        padding: 0px;
        box-sizing: border-box;
        margin: 0 auto;
        /* Ensure container content is properly aligned */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .participation-form-container .entry-form{
    padding: 5px;
    }
    
    .main-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .giveaway-card, .entry-card, .success-card, .recent-entries-card, .giveaway-selection-card, .search-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 16px auto;
        box-sizing: border-box;
        padding: 16px;
        border-radius: 16px;
        background: #0f172a;
        background: rgba(15, 23, 42, 0.7);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .hero-section {
        width: 100%;
        max-width: 100%;
        padding: 4.5rem 0 2.5rem;
        margin-top: 0;
        text-align: center;
        min-height: auto;
        background: transparent !important;
    }
    
    .hero-section .container {
        display: block;
        text-align: center;
    }
    
    .featured-section {
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }
    
    .featured-header {
        text-align: center;
        margin-bottom: 16px;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        text-align: center;
        margin: 0 0 0px 0;
        padding: 0 0px;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .section-title span,
    .section-title .gradient {
        font-size: 1rem;
        display: inline-block;
        width: auto;
        background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .section-title i {
        font-size: 1.4rem;
        margin-right: 8px;
    }
    
    .giveaway-selection-section {
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }
    
    .giveaway-selection-card {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        border-radius: 16px;
        background: #0f172a;
        background: rgba(15, 23, 42, 0.7);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .selection-header {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
        padding: 0 4px;
        box-sizing: border-box;
    }
    
    .selection-header h3 {
        font-size: 1.2rem;
        margin: 0;
        text-align: left;
        width: 100%;
    }
    
    .giveaway-tabs {
        width: 100%;
        max-width: 100%;
        padding: 8px;
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(37, 99, 235, 0.2);
        border-radius: 16px;
        display: flex;
        gap: 8px; /* Distinct gap between buttons */
    }
    
    .tab-btn {
        flex: 1;
        min-width: 0;
        padding: 12px 6px;
        font-size: 0.7rem;
        font-weight: 600;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        background: rgba(30, 41, 59, 0.5);
        color: #94a3b8;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .tab-btn:hover {
        background: rgba(37, 99, 235, 0.1);
        color: #ffffff;
        border-color: rgba(37, 99, 235, 0.3);
    }
    
    .giveaway-list {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        margin: 0;
    }
    
    .giveaway-item {
        width: 100%;
        max-width: 100%;
        padding: 0;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.03);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
    
    .search-section {
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px;
        display: none; /* Hidden by default */
    }
    
    .search-card {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        border-radius: 16px;
        background: #0f172a;
        background: rgba(15, 23, 42, 0.7);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .search-header {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .search-controls {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .search-controls input {
        width: 100%;
        max-width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 12px;
        border: 2px solid rgba(255, 255, 255, 0.1);
        background: #1c1c1c;
        color: #ffffff;
    }
    
    .btn-search {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .search-results {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        margin: 0;
    }
    
    .search-result-item {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        background: rgba(28, 28, 28, 0.8);
    }
    
    /* Modal positioning fix */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        padding: 16px;
        box-sizing: border-box;
    }
    
    .modal-content {
        width: 100%;
        max-width: 95vw;
        max-height: 85vh;
        margin: 16px auto;
        border-radius: 16px;
        background: #111111;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    /* Form and input fixes */
    .entry-form, .form-group, .form-group input, .form-group select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .featured-section {
        padding: 0px;
        margin-bottom: 2rem;
    }

    .giveaway-stats {
        padding: 0 0.75rem;
        gap: 0.35rem;
    }

    .giveaway-stats .stat-item {
        padding: 6px;
    }

    .giveaway-stats .stat-value {
        font-size: 0.75rem;
    }

    .progress-container-mini {
        padding: 0 0.75rem 1rem;
    }

    .progress-bar {
        height: 18px;
    }
    
    .featured-carousel {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0;
        margin: 0;
    }
    
    .featured-carousel-container {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 0.8);
        margin: 0;
        padding: 0;
    }
    
    .featured-item {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
    
    .featured-content {
        padding: 1rem;
    }
    
    /* Lists and grids fix */
    .giveaway-list, .entries-list, .search-results {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
    
    .giveaway-item, .entry-item, .search-result-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 0 12px 0;
    }
    
    /* Footer fix */
    .footer {
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 24px 16px 16px;
        box-sizing: border-box;
    }
    
    .footer-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .mobile-fab {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        color: var(--bg-primary);
        border: none;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 999;
        right: 16px;
        bottom: 16px;
    }
    
    * {
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .mobile-header *,
    .mobile-menu *,
    .container *,
    .giveaway-card *,
    .entry-card *,
    .success-card *,
    .recent-entries-card *,
    .giveaway-selection-card *,
    .search-card *,
    .modal-content *,
    .footer * {
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .logo-container {
        gap: 12px;
    }
    
    .logo {
        font-size: 2.2rem;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }
    
    .logo i {
        font-size: 2.6rem;
    }
    
    .tagline {
        font-size: 1rem;
        color: #a0a0a0;
        line-height: 1.4;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-section {
        padding: 4.5rem 0 2.5rem;
        margin-top: 0;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 4px 12px;
        border-radius: 20px;
        margin-bottom: 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
        line-height: 1.1;
        text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }
    
    .hero-title .highlight,
    .hero-title span {
        background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: inline-block;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        color: var(--text-secondary);
        margin-bottom: 16px;
        line-height: 1.4;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .floating-icons {
        height: 100%;
        margin: 0;
        pointer-events: none;
    }
    
    .floating-icon {
        font-size: 1.2rem !important;
        opacity: 0.25;
        position: absolute;
        filter: blur(0.5px);
    }

    .floating-icon:nth-child(1) { left: 8% !important; top: 10% !important; opacity: 0.3; font-size: 1.4rem !important; }
    .floating-icon:nth-child(2) { left: 85% !important; top: 15% !important; opacity: 0.2; }
    .floating-icon:nth-child(3) { left: 12% !important; top: 85% !important; opacity: 0.25; font-size: 1.3rem !important; }
    .floating-icon:nth-child(4) { left: 88% !important; top: 80% !important; opacity: 0.3; }
    .floating-icon:nth-child(5) { left: 50% !important; top: 5% !important; opacity: 0.15; transform: translateX(-50%); }
    .floating-icon:nth-child(6) { left: 15% !important; top: 45% !important; opacity: 0.2; }
    .floating-icon:nth-child(7) { left: 82% !important; top: 50% !important; opacity: 0.2; }
    .floating-icon:nth-child(8) { left: 50% !important; top: 92% !important; opacity: 0.15; transform: translateX(-50%); }
    
    .container {
        padding: 0 16px 24px;
        max-width: 100%;
    }
    
    .entry-form {
        gap: 12px;
    }
    
    .form-group {
        gap: 6px;
    }
    
    .form-group label {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .form-group input,
    .form-group select {
        padding: 14px 16px;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 12px;
        border: 2px solid rgba(255, 255, 255, 0.1);
        background: #1c1c1c;
        color: #ffffff;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .form-group input::placeholder,
    .form-group select::placeholder {
        color: #666666;
        font-weight: 400;
    }
    
    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: #00ff88;
        box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15), 0 0 15px rgba(0, 255, 136, 0.3);
        transform: translateY(-1px);
        background: #1f1f1f;
    }
    
    .form-group input.error,
    .form-group select.error {
        border-color: #ff6b35;
        box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15), 0 0 15px rgba(255, 107, 53, 0.3);
    }
    
    .form-group input.success,
    .form-group select.success {
        border-color: #00ff88;
        box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15), 0 0 15px rgba(0, 255, 136, 0.3);
    }
    
    .form-group select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
        appearance: none;
    }
    
    .form-note {
        font-size: 0.75rem;
        padding: 8px 12px;
        border-radius: 8px;
        border-left: 3px solid #00d4ff;
        background: rgba(0, 212, 255, 0.1);
        color: #a0a0a0;
    }
    
    .error-message {
        font-size: 0.8rem;
        padding: 8px 12px;
        border-radius: 8px;
        border-left: 3px solid #ff6b35;
        background: rgba(255, 107, 53, 0.1);
        color: #ff6b35;
        margin-top: -4px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
    }
    
    .btn-submit, .btn-reset {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: 12px;
        font-weight: 700;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .btn-submit {
        background: linear-gradient(135deg, #f59e0b, #d97706);
        color: #0a0a0a;
        border: none;
        box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
    }
    
    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0, 255, 136, 0.6);
    }
    
    .btn-reset {
        background: transparent;
        color: #a0a0a0;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .btn-reset:hover {
        border-color: #00ff88;
        color: #00ff88;
        background: rgba(0, 255, 136, 0.1);
    }
    
    .success-card {
        padding: 20px 16px;
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    .success-icon {
        font-size: 4rem;
        margin-bottom: 12px;
    }
    
    .success-card h3 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .success-card p {
        color: #a0a0a0;
        margin-bottom: 16px;
    }
    
    .ticket-display {
        padding: 16px;
        border-radius: 12px;
        margin: 16px 0;
    }
    
    .ticket-number {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-share, .btn-print {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .selection-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .selection-header h3 {
        font-size: 1.2rem;
        margin: 0;
    }
    
    .giveaway-tabs {
        width: 100%;
        padding: 8px;
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(37, 99, 235, 0.2);
        border-radius: 16px;
        display: flex;
        gap: 8px;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 0;
        padding: 12px 6px;
        font-size: 0.7rem;
        font-weight: 600;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        background: rgba(30, 41, 59, 0.5);
        color: #94a3b8;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .tab-btn:hover {
        background: rgba(37, 99, 235, 0.1);
        color: #ffffff;
        border-color: rgba(37, 99, 235, 0.3);
    }
    
    .tab-btn.active {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        color: #ffffff;
        font-weight: 700;
        border-color: #3b82f6;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    }
    
    .giveaway-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .giveaway-item {
        padding: 0;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.04);
    }
    
    .giveaway-item:hover {
        transform: translateY(-4px);
    }
    
    .giveaway-item h4 {
        font-size: 1.05rem;
        margin: 1rem 0.75rem 0.5rem;
        padding: 0;
    }
    
    .giveaway-item p {
        font-size: 0.8rem;
        margin: 0 0.75rem 1rem;
        padding: 0;
        -webkit-line-clamp: 2;
    }
    
    .giveaway-meta {
        margin: 0 0.75rem 1rem;
        padding: 0;
        gap: 6px;
    }
    
    .giveaway-status {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
    
    .giveaway-date {
        font-size: 0.75rem;
    }
    
    .entries-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .entry-item {
        padding: 14px;
        border-radius: 12px;
        border-left: 4px solid #00ff88;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .entry-item:hover {
        transform: translateX(6px);
        border-color: #00ff88;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    }
    
    .entry-item .entry-name {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .entry-item .entry-date {
        font-size: 0.8rem;
        color: #666666;
    }
    
    .entry-item .entry-ticket {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .btn-view-all {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .search-controls {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .search-controls input {
        width: 100%;
        min-width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 12px;
        border: 2px solid rgba(255, 255, 255, 0.1);
        background: #1c1c1c;
        color: #ffffff;
    }
    
    .btn-search {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .search-results {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .search-result-item {
        padding: 16px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .search-result-item:hover {
        transform: translateX(6px);
        border-color: #00ff88;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    }
    
    .result-name {
        font-size: 1rem;
    }
    
    .featured-item {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .featured-image-container {
        height: 350px;
        border-radius: 12px 12px 0 0;
    }
    
    .featured-content {
        padding: 16px;
    }
    
    .featured-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .featured-countdown-item {
        min-width: 50px;
        padding: 8px 10px;
    }
    
    .featured-countdown-item span {
        font-size: 1rem;
    }
    
    .carousel-controls {
        gap: 12px;
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        padding: 0px;
    }
    
    .modal-overlay.active {
        display: flex;
    }
    
    .modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        margin: 0px auto;
        padding: 0px;
        border-radius: 16px;
        background: #111111;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        overflow: hidden;
    }
    
    .modal-overlay.active .modal-content {
        opacity: 1;
        transform: translateY(0);
    }
    
    .modal-header {
        padding: 16px 20px;
        border-radius: 16px 16px 0 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: linear-gradient(135deg, #1a1a1a, #111111);
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
        margin: 0;
    }
    
    .modal-body {
        padding: 5px;
        max-height: 75vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .option-input input {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .btn-verify-modal {
        padding: 14px 24px;
        font-size: 1.1rem;
    }
    
    .footer {
        margin-top: 0;
        padding: 24px 0 16px;
        background: #0f172a;
        background: rgba(15, 23, 42, 0.95);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 255, 136, 0.2);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        color: #a0a0a0;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
        padding: 6px 0;
    }
    
    .social-icons {
        justify-content: center;
        gap: 12px;
    }
    
    .social-icons a {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        color: #666666;
        margin-top: 16px;
    }
    
    .mobile-fab {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        color: var(--bg-primary);
        border: none;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .mobile-fab:hover {
        transform: scale(1.1);
        box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
    }
    
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    html {
        scroll-behavior: smooth;
    }
    
    .giveaway-item,
    .entry-item,
    .search-result-item,
    .help-item,
    .timeline-step {
        will-change: transform;
        backface-visibility: hidden;
        transform: translateZ(0);
    }

    .help-card {
        padding: 24px 16px !important;
    }

    .help-header h2 {
        font-size: 1.8rem !important;
    }

    .help-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px !important;
    }

    .help-icon {
        margin-bottom: 12px;
    }

    .visual-timeline {
        padding-left: 0 !important;
    }

    .visual-timeline::before {
        display: none;
    }

    .timeline-step {
        flex-direction: column;
        gap: 8px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .step-card {
        padding: 12px !important;
        font-size: 0.85rem !important;
        width: 100%;
    }
    
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    
    .loading {
        width: 24px;
        height: 24px;
        border: 3px solid rgba(0, 255, 136, 0.3);
        border-top-color: #00ff88;
    }
}

/* Tablet Portrait (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .nav-container {
        height: 65px;
        padding: 0 20px;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
    }
    
    .brand-title {
        font-size: 18px;
    }
    
    .header {
        padding: 20px 0 24px;
        margin-top: 65px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .giveaway-card, .entry-card, .success-card, .recent-entries-card, .giveaway-selection-card, .search-card {
        padding: 20px;
        border-radius: 20px;
    }
    
    .giveaway-title {
        font-size: 1.6rem;
    }
    
    .giveaway-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .entries-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .modal-content {
        width: 90%;
        max-width: 500px;
    }
}

/* Tablet Landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .nav-container {
        height: 60px;
        padding: 0 24px;
    }
    
    .logo-circle {
        width: 42px;
        height: 42px;
    }
    
    .brand-title {
        font-size: 19px;
    }
    
    .header {
        padding: 16px 0 20px;
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .giveaway-card, .entry-card, .success-card, .recent-entries-card, .giveaway-selection-card, .search-card {
        padding: 20px;
        border-radius: 20px;
    }
    
    .giveaway-title {
        font-size: 1.8rem;
    }
    
    .giveaway-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .entries-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .modal-content {
        width: 85%;
        max-width: 600px;
    }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 136, 0.5); transform: scale(1.05); }
}

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

.giveaway-card, .entry-card, .success-card, .recent-entries-card, .giveaway-selection-card, .search-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mobile-link {
    animation: slideInFromRight 0.3s ease-out;
}

@media (max-width: 768px) {
    .floating-icon {
        will-change: transform;
        backface-visibility: hidden;
    }
    
    .giveaway-item:hover,
    .entry-item:hover,
    .search-result-item:hover {
        will-change: transform;
    }

    .participation-form-container .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .participation-form-container .form-group {
        width: 100%;
    }

    .participation-form-container .ticket-counter-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .participation-form-container .ticket-counter {
        width: 100%;
        justify-content: space-between;
    }

    .participation-form-container .ticket-display {
        flex-grow: 1;
        text-align: center;
    }

    .participation-form-container .ticket-info {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .participation-form-container .image-upload-area {
        padding: 1.5rem;
    }

    .participation-form-container .upload-text p {
        font-size: 0.9rem;
    }

    .participation-form-container .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .participation-form-container .btn-submit,
    .participation-form-container .btn-reset {
        width: 100%;
    }
}

/* Enhanced Mobile Form Styles for giveawayModal */
.modal-body .form-group {
    margin-bottom: 1.25rem;
}

.modal-body .form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.modal-body .form-group input,
.modal-body .form-group select {
    background-color: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.modal-body .form-group input:focus,
.modal-body .form-group select:focus {
    outline: none;
    border-color: var(--blue-primary);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.modal-body .image-upload-area {
    border: 2px dashed var(--border-blue);
    background-color: rgba(59, 130, 246, 0.05);
    padding: 2rem;
    text-align: center;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-body .image-upload-area:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: var(--blue-primary);
}

.modal-body .upload-icon {
    font-size: 2.5rem;
    color: var(--blue-primary);
    margin-bottom: 1rem;
}

.modal-body .form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-body .btn-submit,
.modal-body .btn-reset {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.modal-body .btn-submit {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
    box-shadow: var(--shadow-blue);
}

.modal-body .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.modal-body .btn-reset {
    background-color: transparent;
    border: 2px solid var(--border-subtle);
    color: var(--text-secondary);
}

.modal-body .btn-reset:hover {
    background-color: var(--bg-card);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}
