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

body {
  font-family: 'Comic Neue', cursive;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

/* Hero Section */
.shop-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.comic-title {
    font-family: 'Bangers', cursive;
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 
        4px 4px 0px #000,
        -1px -1px 0px #000,
        1px -1px 0px #000,
        -1px 1px 0px #000,
        1px 1px 0px #000;
    margin-bottom: 20px;
    transform: perspective(500px) rotateX(15deg);
    text-align: center;
}
.shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="3" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 60px 60px;
    animation: sparkle 10s ease-in-out infinite;
}

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

.shop-hero .container {
    position: relative;
    z-index: 2;
}

.shop-title {
    font-family: 'Bangers', cursive;
    font-size: 3.5em;
    color: #fff;
    text-shadow: 4px 4px 0 #333;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.shop-subtitle {
    color: #fff;
    text-align: center;
    font-size: 1.3em;
    text-shadow: 2px 2px 0 #333;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 50%, #e17055 100%);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="4" fill="rgba(255,255,255,0.12)"/><circle cx="75" cy="75" r="3" fill="rgba(255,255,255,0.08)"/><polygon points="60,15 70,35 50,35" fill="rgba(255,255,255,0.1)"/><rect x="15" y="70" width="10" height="10" fill="rgba(255,255,255,0.15)" transform="rotate(45 20 75)"/><star cx="85" cy="25" r1="6" r2="3" fill="rgba(255,255,255,0.09)"/></svg>') repeat;
    background-size: 90px 90px;
    animation: patternFloat 20s linear infinite;
}

.products-section .container {
    position: relative;
    z-index: 2;
}

@keyframes patternFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(90px, 90px) rotate(360deg); }
}

.section-title {
    font-family: 'Bangers', cursive;
    font-size: 2.8em;
    color: #fff;
    text-shadow: 
        4px 4px 0px #000,
        -1px -1px 0px #000,
        1px -1px 0px #000,
        -1px 1px 0px #000,
        1px 1px 0px #000;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

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

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 4px solid #333;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 30px;
}

.product-title {
    font-family: 'Bangers', cursive;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1em;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.product-price .price {
    font-family: 'Bangers', cursive;
    font-size: 2em;
    color: #ff6b6b;
    text-shadow: 2px 2px 0 #fff;
}

.product-stock .in-stock {
    color: #2ecc71;
    font-weight: 600;
    background: #e8f5e8;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9em;
}

.product-stock .out-of-stock {
    color: #e74c3c;
    font-weight: 600;
    background: #fdeaea;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9em;
}

.product-actions {
    text-align: center;
}

.btn-comic {
    display: inline-block;
    padding: 15px 30px;
    font-family: 'Bangers', cursive;
    font-size: 1.2em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 25px;
    border: 3px solid #333;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background: none;
    width: 100%;
}

.btn-comic.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-shadow: 2px 2px 0 #333;
}

.btn-comic.success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    text-shadow: 2px 2px 0 #333;
}

.btn-comic.secondary {
    background: #ecf0f1;
    color: #2c3e50;
    text-shadow: none;
}

.btn-comic.secondary:hover {
    background: #d5dbdb;
}

.btn-comic.disabled {
    background: #bdc3c7;
    color: #7f8c8d;
    cursor: not-allowed;
    text-shadow: none;
}

.btn-comic:hover:not(.disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.btn-comic i {
    margin-right: 10px;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 3px solid #dee2e6;
}

.no-products p {
    font-size: 1.2em;
    color: #666;
    font-weight: 600;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    border: 4px solid #333;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content.success {
    text-align: center;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-title {
    font-family: 'Bangers', cursive;
    font-size: 2.2em;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.order-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #dee2e6;
    margin-bottom: 30px;
}

.order-details h3 {
    font-family: 'Bangers', cursive;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.modal-price {
    font-family: 'Bangers', cursive;
    font-size: 1.8em;
    color: #ff6b6b;
    margin: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 1.1em;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 3px solid #ddd;
    border-radius: 15px;
    font-size: 1.1em;
    font-family: 'Comic Neue', cursive;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 0.9em;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.modal-actions .btn-comic {
    width: auto;
    min-width: 120px;
}

/* Success Modal */
.success-content {
    text-align: center;
}

.success-content i {
    font-size: 4em;
    color: #2ecc71;
    margin-bottom: 20px;
}

.success-content h2 {
    font-family: 'Bangers', cursive;
    font-size: 2.5em;
    color: #2ecc71;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.order-number {
    font-family: 'Bangers', cursive;
    font-size: 2.5em;
    color: #333;
    background: #f1c40f;
    padding: 15px 25px;
    border-radius: 15px;
    border: 3px solid #333;
    margin: 20px 0;
    text-shadow: 2px 2px 0 #fff;
}

/* Coming Soon Section Styles */
.coming-soon-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.coming-soon-content {
    text-align: center;
    background: #fff;
    padding: 60px 40px;
    border-radius: 30px;
    border: 6px solid #333;
    box-shadow: 12px 12px 0 rgba(0,0,0,0.2);
    max-width: 700px;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.coming-soon-icon {
    font-size: 120px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
    color: #ffd93d;
    text-shadow: 4px 4px 0 #333;
}

.coming-soon-icon i {
    display: inline-block;
}

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

.coming-soon-title {
    font-family: 'Bangers', cursive;
    font-size: 4em;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 4px 4px 0 #ffd93d;
    line-height: 1.2;
}

.coming-soon-subtitle {
    font-family: 'Comic Neue', cursive;
    font-size: 1.5em;
    color: #666;
    margin-bottom: 30px;
    font-weight: bold;
}

.coming-soon-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.2em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
}

.coming-soon-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 3px dashed #ddd;
}

.feature-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 10px;
    color: #667eea;
    text-shadow: 2px 2px 0 #333;
}

.feature-icon i {
    display: inline-block;
}

.feature-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.1em;
    color: #555;
    font-weight: bold;
}

@media (max-width: 768px) {
    .shop-title {
        font-size: 2.5em;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2.2em;
    }
    
    .product-content {
        padding: 25px;
    }
    
    .product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 30px 25px;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.8em;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn-comic {
        width: 100%;
    }
    
    .order-number {
        font-size: 2em;
        padding: 12px 20px;
    }
    
    .coming-soon-icon {
        font-size: 80px;
    }
}

@media (max-width: 480px) {
    .shop-title {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-price .price {
        font-size: 1.5em;
    }
}