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

body {
    font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('https://giftcardvaliditychecker.com/wp-content/uploads/2024/01/IMG_0840-1-e1704827505335.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    font-size: 1.8rem;
    color: #446084;
    margin: 0;
    font-weight: 700;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #666;
    display: block;
}

.language-selector select {
    padding: 0.5rem 1rem;
    border: 2px solid: #446084;
    border-radius: 8px;
    background: white;
    color: #333;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Top Image */
.top-image {
    width: 100%;
    margin-bottom: 0;
    max-height: 350px;
    overflow: hidden;
}

.top-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Banner */
.banner {
    background-image: url('https://giftcardvaliditychecker.com/wp-content/uploads/2024/01/IMG_0824.jpg');
    background-size: cover;
    background-position: center 48%;
    padding: 6rem 2rem;
    position: relative;
    margin-bottom: 2rem;
}

.banner-overlay {
    position: relative;
    z-index: 1;
}

.banner-content {
    background: rgba(255, 255, 255, 0.262);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    display: inline-block;
    max-width: 44%;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #000;
    text-transform: uppercase;
}

.banner h4 {
    font-size: 1.3rem;
    color: #000;
    font-weight: bold;
}

/* Main Content */
#main {
    padding: 2rem 0;
}

/* Form Section */
.form-wrapper {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 2rem auto;
    max-width: 1100px;
}

.form-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-row.four-cols {
    grid-template-columns: repeat(4, 1fr);
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.form-field input,
.form-field select {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #446084;
    box-shadow: 0 0 0 3px rgba(68, 96, 132, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #446084 0%, #667eea 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(68, 96, 132, 0.4);
}

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

/* Loading Animation */
.loading-container {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #446084;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    font-size: 1.2rem;
    color: #446084;
    margin-bottom: 1rem;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #446084 0%, #667eea 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #446084;
}

/* Result Container */
.result-container {
    padding: 2rem 0;
}

.result-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.result-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #28a745;
}

.result-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
    border: 2px solid #e9ecef;
}

.result-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 2px solid #dee2e6;
    align-items: center;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 700;
    color: #495057;
    font-size: 1rem;
}

.result-value {
    color: #446084;
    font-weight: 600;
    font-size: 1.1rem;
    word-break: break-word;
}

.success {
    color: #28a745;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.image-gallery.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.image-gallery.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.image-gallery.four-cols {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    max-width: 100%;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

/* Content Section */
.content-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 15px;
}

.content-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.content-image img {
    width: 85%;
    max-height: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.content-text h2 {
    color: #446084;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.content-text p {
    text-align: center;
    line-height: 1.8;
    color: #333;
}

/* Final Banner */
.final-banner {
    background-image: url('https://giftcardvaliditychecker.com/wp-content/uploads/2024/01/IMG_0841.jpg');
    background-size: cover;
    background-position: center;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 15px;
    position: relative;
}

.final-banner-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    max-width: 70%;
}

.final-banner-content h2 {
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #446084;
}

.final-banner-content p {
    color: #333;
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    text-align: center;
    color: #446084;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    font-weight: 700;
}

.faq-item {
    background: white;
    margin-bottom: 1.2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(68, 96, 132, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    background: linear-gradient(135deg, #446084 0%, #557095 100%);
    color: white;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: linear-gradient(135deg, #557095 0%, #667eea 100%);
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    background: #f9f9f9;
    padding: 0;
    border-top: 2px solid #446084;
}

.faq-answer.active {
    display: block;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

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

.faq-answer p {
    color: #333;
    line-height: 1.9;
    margin: 0;
    font-size: 1.05rem;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #446084;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 2rem 0;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    font-size: 2rem;
    cursor: pointer;
    color: #446084;
    background: none;
    border: none;
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-items li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-items a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.mobile-menu-items a:hover {
    background: #f5f5f5;
    color: #446084;
}

.mobile-menu-language {
    padding: 1rem 1.5rem;
    border-top: 2px solid #ddd;
    margin-top: 1rem;
}

.mobile-menu-language label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
    font-weight: 600;
}

.mobile-menu-language select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #446084;
    border-radius: 8px;
    font-size: 1rem;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* Footer */
.footer {
    background-color: #f5f5f5;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    border-top: 1px solid #ddd;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #446084;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0 0.5rem;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-copyright {
    color: #333;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .language-selector {
        display: none;
    }

    .header-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .banner-content {
        max-width: 90%;
        padding: 1.5rem;
    }

    .banner h1 {
        font-size: 1.8rem;
    }

    .banner h4 {
        font-size: 1.1rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.75rem;
    }

    .form-row.four-cols {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 180px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-links a:not([href*="privacy"]):not([href*="terms"]) {
        display: none;
    }

    .image-gallery.two-cols,
    .image-gallery.three-cols,
    .image-gallery.four-cols {
        grid-template-columns: 1fr;
    }

    .content-box {
        grid-template-columns: 1fr;
    }

    .final-banner-content {
        max-width: 100%;
    }

    .form-wrapper {
        padding: 1.5rem;
    }

    .top-image {
        max-height: 200px;
    }

    .top-image img {
        height: 200px;
    }

    .banner {
        padding: 3rem 1rem;
    }

    .content-section {
        padding: 2rem 1rem;
    }

    .content-image img {
        width: 100%;
    }

    h1 {
        font-size: 1.5rem !important;
    }

    .faq-section {
        padding: 2rem 1rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.2rem;
    }
    
    .result-card {
        padding: 1.5rem;
    }
    
    .result-card h3 {
        font-size: 1.5rem;
    }
    
    .result-details {
        padding: 1.5rem;
    }
    
    .result-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem 0;
    }
    
    .result-label {
        font-size: 0.9rem;
    }
    
    .result-value {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 2rem 1rem;
    }

    .banner-content {
        padding: 1rem;
    }

    .banner h1 {
        font-size: 1.5rem;
    }

    .banner h4 {
        font-size: 1rem;
    }

    .form-wrapper {
        padding: 1rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .language-selector select {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .top-image {
        max-height: 150px;
    }

    .top-image img {
        height: 150px;
    }

    .gallery-item img {
        height: 150px;
    }

    h1 {
        font-size: 1.3rem !important;
        padding: 0.8rem !important;
    }

    .final-banner {
        padding: 2rem 1rem;
    }

    .final-banner-content {
        padding: 1.5rem;
    }

    .final-banner-content h2 {
        font-size: 1.3rem;
    }

    .final-banner-content p {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 15px;
    }
}

