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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
}

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

/* Simple Header */
.simple-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-link {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.logo-link:hover {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}


/* Screen Management */
.screen {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.screen.active {
    display: block;
}

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

/* Main Genre Selection */
#genre-selection {
    padding: 60px 0;
    text-align: center;
}

.hero {
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.genre-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.genre-card::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;
    z-index: 1;
}

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

.genre-card:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.02);
    border-color: #fff;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(255, 255, 255, 0.2);
}

.genre-card.selected {
    transform: translateY(-10px) scale(1.05);
    border: 3px solid #4CAF50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    box-shadow: 0 30px 60px rgba(76, 175, 80, 0.3);
}

.genre-card.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4CAF50;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    animation: checkmarkPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
}

.genre-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.genre-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

/* Modern Box Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.popup-overlay.active {
    display: flex;
}

.modern-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 60px 40px;
    backdrop-filter: blur(20px);
    max-width: 400px;
    width: 90%;
}

.box {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    transform-style: preserve-3d;
}

.lid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: 3px solid #fff;
    border-radius: 15px 15px 0 0;
    transform-origin: bottom;
    transition: transform 1s ease-in-out;
    z-index: 2;
}

.lid.open {
    transform: rotateX(-120deg);
}

.ribbon {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: 3px solid #fff;
    border-radius: 15px;
    z-index: 1;
}

.sparkle {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 10px;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 500;
}

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

/* Book Reveal */
#book-reveal {
    padding: 60px 0;
    text-align: center;
    min-height: 100vh;
}

#book-reveal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-reveal-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px 40px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.book-display {
    margin-bottom: 40px;
}

.book-cover {
    position: relative;
    width: 200px;
    height: 300px;
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.book-cover:hover {
    transform: rotateY(-10deg);
}

.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    border-radius: 5px 0 0 5px;
}

.book-front {
    position: absolute;
    left: 20px;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 0 10px 10px 0;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.book-front h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: white;
    line-height: 1.3;
}

.book-front p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.genre-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.book-info {
    margin-bottom: 40px;
}

.book-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 800;
}

.book-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-top: 20px;
}

/* Blur Effect */
.blurred-content {
    filter: blur(8px);
    transition: filter 0.5s ease;
    pointer-events: none;
}

.blurred-content.revealed {
    filter: blur(0px);
    pointer-events: auto;
}

.actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(45deg, #fff, #f8f9fa);
    color: #667eea;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #667eea;
}

/* Purchase Screen */
#purchase-screen {
    padding: 60px 0;
}

.purchase-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px 40px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.purchase-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
    font-weight: 800;
}

.order-summary {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.book-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.pricing {
    margin-top: 20px;
}

.price-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.price-line.total {
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    margin-top: 10px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.checkout-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    border-left: 4px solid #4CAF50;
}


/* Enhanced Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

@keyframes checkmarkPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes giftBoxLidOpen {
    0% {
        transform: rotateX(0deg);
        transform-origin: bottom center;
    }
    30% {
        transform: rotateX(-15deg);
        transform-origin: bottom center;
    }
    60% {
        transform: rotateX(-45deg);
        transform-origin: bottom center;
    }
    100% {
        transform: rotateX(-90deg);
        transform-origin: bottom center;
    }
}

@keyframes bookReveal {
    0% {
        transform: translateY(100px) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(76, 175, 80, 0.6);
    }
}

/* Realistic Present Box Animation */
.present-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 40px auto;
    perspective: 1200px;
}

.present-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 8px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    box-shadow: 
        0 25px 50px rgba(231, 76, 60, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.present-lid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(135deg, #c0392b, #a93226);
    border-radius: 8px 8px 0 0;
    transform-origin: bottom center;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 15px 30px rgba(192, 57, 43, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.present-lid.open {
    animation: giftBoxLidOpen 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.present-ribbon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 15px;
    box-shadow: 
        0 0 15px rgba(243, 156, 18, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
    z-index: 10;
}

.present-ribbon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 30px;
    background: linear-gradient(0deg, #f39c12, #e67e22);
    border-radius: 15px;
    box-shadow: 
        0 0 15px rgba(243, 156, 18, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* Gift Bow */
.present-bow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 50%;
    z-index: 15;
    box-shadow: 
        0 5px 15px rgba(231, 76, 60, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.present-bow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* Gift Box Interior */
.present-interior {
    position: absolute;
    top: 45%;
    left: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 0 0 8px 8px;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.present-interior.revealed {
    opacity: 1;
}

.book-reveal {
    animation: bookReveal 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    transform: translateY(100px) scale(0.5);
    opacity: 0;
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: sparkle 2s infinite;
}

.sparkle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 30%; right: 20%; animation-delay: 0.5s; }
.sparkle:nth-child(3) { bottom: 30%; left: 30%; animation-delay: 1s; }
.sparkle:nth-child(4) { bottom: 20%; right: 30%; animation-delay: 1.5s; }

/* Smooth Transition Animations */
.screen {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.screen.transitioning-out {
    transform: translateX(-100%) scale(0.9);
    opacity: 0;
}

.screen.transitioning-in {
    transform: translateX(100%) scale(0.9);
    opacity: 0;
}

.screen.active {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    margin-top: 20px;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Q&A Section */
.qa-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0;
    margin-top: 60px;
}

.qa-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.qa-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.qa-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.qa-question {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.qa-answer {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Q&A */
@media (max-width: 768px) {
    .qa-section {
        padding: 60px 0;
        margin-top: 40px;
    }
    
    .qa-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .qa-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .qa-item {
        padding: 25px;
    }
    
    .qa-question {
        font-size: 1.2rem;
    }
}

/* Genre Selection Transition */
.genre-selection.transitioning-out {
    transform: scale(0.8) translateY(-50px);
    opacity: 0;
}

/* Present Container Transition */
.present-container.transitioning-in {
    transform: scale(0.5) translateY(100px);
    opacity: 0;
    animation: presentSlideIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes presentSlideIn {
    0% {
        transform: scale(0.5) translateY(100px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.address-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.card-element {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 15px;
}

.card-errors {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 20px;
}

.fallback-card {
    display: flex !important;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(10px);
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

.spinner.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Screen */
#success-screen {
    padding: 60px 0;
    text-align: center;
}

.success-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px 40px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 30px;
    color: #4CAF50;
}

.success-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 800;
}

.success-container p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

#order-number {
    font-weight: 700;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .genre-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .genre-card {
        padding: 30px 15px;
    }
    
    .book-reveal-container,
    .purchase-container,
    .success-container {
        padding: 40px 20px;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .modern-box {
        padding: 40px 20px;
    }
    
    .box {
        width: 120px;
        height: 120px;
    }
}