/* Modern Minimalist Design - ZIIP Style for Link.Deals Homepage */

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

:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --accent-yellow: #F7E64D;
    --accent-green: #10B981;
    --accent-red: #EF4444;
    --light-yellow: #FFFBEB;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px;
}

/* Header */
.header {
    text-align: center;
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 60px;
}

.logo-linkdeals {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.link-part {
    color: var(--black);
}

.dot-separator {
    color: var(--gray-300);
    font-size: 20px;
    font-weight: 700;
}

.deals-part {
    color: var(--black);
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero-title {
    font-size: 44px;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--black);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* Deals Section */
.deals-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 48px;
    text-align: center;
    color: var(--black);
}

.deals-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.deal-card {
    border: 2px solid var(--gray-200);
    background: var(--white);
    transition: border-color 0.2s ease;
}

.deal-card:hover {
    border-color: var(--gray-400);
}

.deal-card.coming-soon {
    opacity: 0.6;
}

.deal-card.coming-soon:hover {
    border-color: var(--gray-200);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    border-bottom: 1px solid var(--gray-200);
}

.deal-discount-badge {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.deal-discount-badge.muted {
    opacity: 0.5;
}

.discount-number {
    font-size: 56px;
    font-weight: 600;
    color: var(--black);
    line-height: 1;
    letter-spacing: -2px;
}

.discount-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deal-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
}

.deal-status.active {
    color: var(--accent-green);
}

.deal-status svg {
    width: 8px;
    height: 8px;
}

.deal-body {
    padding: 32px 40px;
}

.deal-brand h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--black);
}

.deal-description {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.deal-expires {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
}

.deal-button {
    display: block;
    width: 100%;
    padding: 20px 40px;
    background: var(--black);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.deal-button:hover {
    background: var(--gray-800);
}

.deal-button:disabled {
    background: var(--gray-200);
    color: var(--gray-400);
    cursor: not-allowed;
}

.deal-button:disabled:hover {
    background: var(--gray-200);
}

/* How It Works Section */
.how-it-works {
    margin-bottom: 80px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-200);
}

.step-item:first-child {
    padding-top: 0;
}

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

.step-number {
    width: 48px;
    height: 48px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
}

.step-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* About Section */
.about-section {
    margin-bottom: 80px;
    text-align: center;
}

.about-content {
    max-width: 600px;
    margin: 0 auto;
}

.about-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Footer */
.footer {
    border-top: 1px solid var(--gray-200);
    padding: 60px 0 40px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--black);
}

.footer-copy {
    font-size: 13px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid var(--gray-200);
    padding: 24px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.cookie-consent-hidden {
    transform: translateY(100%);
}

.cookie-consent-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text p {
    margin: 0;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent-text a {
    color: var(--black);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn-primary {
    background: var(--black);
    color: var(--white);
}

.cookie-btn-primary:hover {
    background: var(--gray-800);
}

.cookie-btn-secondary {
    background: var(--gray-100);
    color: var(--black);
}

.cookie-btn-secondary:hover {
    background: var(--gray-200);
}

.cookie-btn-text {
    background: transparent;
    color: var(--gray-600);
    text-decoration: underline;
}

.cookie-btn-text:hover {
    color: var(--black);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.cookie-modal-hidden {
    opacity: 0;
    pointer-events: none;
}

.cookie-modal-content {
    background: var(--white);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-header {
    padding: 32px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    font-size: 24px;
    font-weight: 600;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.cookie-modal-close:hover {
    color: var(--black);
}

.cookie-modal-body {
    padding: 32px;
}

.cookie-category {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cookie-category-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.cookie-category p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

.cookie-always-active {
    color: var(--gray-400);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: 0.3s;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    transition: 0.3s;
}

input:checked + .cookie-slider {
    background-color: var(--black);
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-modal-footer {
    padding: 32px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .header {
        padding: 40px 0 32px;
        margin-bottom: 48px;
    }

    .logo-linkdeals {
        font-size: 20px;
    }

    .hero {
        margin-bottom: 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .deal-header {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .discount-number {
        font-size: 44px;
    }

    .deal-body {
        padding: 24px;
    }

    .deal-button {
        padding: 16px 24px;
    }

    .step-item {
        gap: 16px;
        padding: 24px 0;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .footer-links {
        gap: 24px;
    }

    .cookie-consent-content {
        gap: 16px;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .deal-header {
        padding: 20px;
    }

    .discount-number {
        font-size: 36px;
    }

    .deal-body {
        padding: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
