/* TintTap-specific styles */
/* Import base styles from parent directory */
@import url('../styles.css');

/* TintTap-specific overrides and additions */

/* Header adjustments for TintTap pages */
.back-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #FFD030;
}

/* Hero section specific to TintTap */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    text-align: left;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-icon-large {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tinttap-icon-large {
    position: relative;
    width: 120px;
    height: 120px;
}

.tinttap-icon-large .circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tinttap-icon-large .red {
    background: linear-gradient(135deg, #FF3030, #FF6060);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.tinttap-icon-large .blue {
    background: linear-gradient(135deg, #3098FF, #60B0FF);
    bottom: 0;
    left: 0;
    animation-delay: -1.3s;
}

.tinttap-icon-large .yellow {
    background: linear-gradient(135deg, #FFD030, #FFE060);
    bottom: 0;
    right: 0;
    animation-delay: -2.6s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Phone mockup */
.phone-mockup {
    width: 200px;
    height: 350px;
    background: #333;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.game-simulation {
    width: 100%;
    height: 100%;
    position: relative;
    animation: gameDemo 6s infinite;
}

.player-sim {
    width: 20px;
    height: 20px;
    background: #FF3030;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    animation: playerColorChange 2s infinite;
    box-shadow: 0 0 10px rgba(255, 48, 48, 0.6);
}

@keyframes playerColorChange {
    0% { background: #FF3030; box-shadow: 0 0 10px rgba(255, 48, 48, 0.6); }
    33% { background: #3098FF; box-shadow: 0 0 10px rgba(48, 152, 255, 0.6); }
    66% { background: #FFD030; box-shadow: 0 0 10px rgba(255, 208, 48, 0.6); }
    100% { background: #FF3030; box-shadow: 0 0 10px rgba(255, 48, 48, 0.6); }
}

.gate-sim {
    width: 80px;
    height: 15px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 7px;
    animation: gateMove 3s linear infinite;
}

.gate-red {
    background: #FF3030;
    top: 20px;
    animation-delay: 0s;
}

.gate-blue {
    background: #3098FF;
    top: 80px;
    animation-delay: -1s;
}

.gate-yellow {
    background: #FFD030;
    top: 140px;
    animation-delay: -2s;
}

@keyframes gateMove {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(200px); }
}

/* Game info section */
.game-info {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.05);
}

.gameplay-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    color: white;
}

.step-icon {
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tap-icon, .score-icon {
    font-size: 3rem;
}

.match-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mini-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.mini-circle.red {
    background: #FF3030;
}

.mini-gate {
    width: 50px;
    height: 10px;
    border-radius: 5px;
}

.mini-gate.red {
    background: #FF3030;
}

.step h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFD030;
}

/* Features section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #FFD030;
}

/* Download section */
.download {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.1);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.download-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.download-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Support section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-item h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #FFD030;
}

.support-link {
    display: inline-block;
    background: linear-gradient(45deg, #FF3030, #3098FF);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.support-link:hover {
    transform: scale(1.05);
}

.support-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Content pages styles (privacy, terms, deletion) */
.privacy-page, .terms-page, .deletion-page {
    padding-top: 120px;
    color: white;
    min-height: 100vh;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.intro h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FFD030;
}

.last-updated {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 2rem;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #FFD030;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.policy-section h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.policy-section a {
    color: #FFD030;
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.back-to-game {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Account deletion specific styles */
.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.warning-box h4 {
    color: #FFC107 !important;
    margin-bottom: 1rem;
}

.alternatives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.alternative-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.alternative-item h4 {
    color: #FFD030 !important;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.deletion-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.method-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.method-card.primary {
    border-color: #FFD030;
    box-shadow: 0 0 20px rgba(255, 208, 48, 0.2);
}

.method-card h4 {
    color: #FFD030 !important;
    margin-bottom: 1rem;
}

.form-placeholder {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.process-timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.timeline-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #FF3030, #3098FF);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-content h4 {
    color: #FFD030 !important;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.platform-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-card h4 {
    color: #FFD030 !important;
    margin-bottom: 1rem;
}

.related-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.related-link {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: white !important;
    text-decoration: none;
    transition: background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.related-link:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Responsive design for TintTap pages */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-buttons {
        justify-content: center;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-stats {
        max-width: 400px;
        margin: 0 auto 2rem;
    }

    .content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .deletion-methods, .platform-instructions {
        grid-template-columns: 1fr;
    }

    .alternatives {
        grid-template-columns: 1fr;
    }

    .related-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 150px;
        height: 260px;
        padding: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .gameplay-steps {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        align-items: center;
    }

    .download-btn img {
        max-width: 180px;
        height: auto;
    }

    .content {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
}