/* App Page Specific Styles */

/* Hero Section for App Page */
.hero {
    background: linear-gradient(135deg, #382511 0%, #1a0f08 50%, #0a0502 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(248, 204, 84, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(248, 204, 84, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-image {
    position: relative;
    z-index: 3;
    margin-top: 2rem;
}

/* Why Choose Section */
.why-choose {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.why-choose::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"><defs><pattern id="app-pattern" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1.5" fill="%23F8CA50" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23app-pattern)"/></svg>');
    opacity: 0.5;
}

.why-choose .container {
    position: relative;
    z-index: 2;
}

/* Download Instructions Section */
.download-instructions {
    background: linear-gradient(135deg, rgba(248, 204, 84, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    position: relative;
}

.download-instructions::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"><defs><pattern id="download-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23F8CA50" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23download-pattern)"/></svg>');
    opacity: 0.3;
}

.download-instructions .container {
    position: relative;
    z-index: 2;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.download-platform {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(248, 204, 84, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.download-platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(248, 204, 84, 0.1), transparent);
    transition: left 0.5s ease;
}

.download-platform:hover::before {
    left: 100%;
}

.download-platform:hover {
    transform: translateY(-5px);
    background: rgba(248, 204, 84, 0.08);
    box-shadow: 0 10px 30px rgba(248, 204, 84, 0.1);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(248, 204, 84, 0.2);
}

.platform-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F8CA50, #ffeb94);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
    box-shadow: 0 4px 15px rgba(248, 204, 84, 0.3);
}

.platform-header h3 {
    color: #F8CA50;
    margin: 0;
    font-size: 1.5rem;
}

.platform-steps {
    margin-bottom: 2rem;
}

.platform-steps .step {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(248, 204, 84, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.platform-steps .step:hover {
    background: rgba(248, 204, 84, 0.1);
    transform: translateX(5px);
}

.step-number {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    background: #F8CA50;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.platform-steps .step p {
    margin: 0;
    color: #e0e0e0;
    font-weight: 500;
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(248, 204, 84, 0.2);
}

.platform-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #F8CA50;
    font-size: 0.9rem;
}

.platform-info i {
    font-size: 1rem;
}

/* Casino Games Section */
.casino-games {
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.casino-games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(248, 204, 84, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(248, 204, 84, 0.03) 0%, transparent 50%);
}

.casino-games .container {
    position: relative;
    z-index: 2;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.game-category {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(248, 204, 84, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(248, 204, 84, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(248, 204, 84, 0.1), transparent);
    transition: left 0.5s ease;
}

.game-category:hover::before {
    left: 100%;
}

.game-category:hover {
    transform: translateY(-8px);
    background: rgba(248, 204, 84, 0.1);
    box-shadow: 0 15px 35px rgba(248, 204, 84, 0.15);
}

.game-icon {
    font-size: 3.5rem;
    color: #F8CA50;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.game-category h3 {
    color: #F8CA50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.game-category p {
    color: #e0e0e0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.games-note {
    text-align: center;
    margin: 2rem 0;
    font-style: italic;
    color: #F8CA50;
}

/* App Comparison Section */
.app-comparison {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(56, 37, 17, 0.2) 100%);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(248, 204, 84, 0.2);
}

.comparison-table th {
    background: linear-gradient(135deg, rgba(248, 204, 84, 0.2) 0%, rgba(248, 204, 84, 0.1) 100%);
    color: #F8CA50;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table td {
    color: #e0e0e0;
    font-size: 1rem;
}

.comparison-table tr:nth-child(even) {
    background: rgba(248, 204, 84, 0.02);
}

.comparison-table tr:hover {
    background: rgba(248, 204, 84, 0.08);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #F8CA50;
}

/* Responsive Design for App Page */
@media (max-width: 1024px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-platform {
        padding: 2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-platform {
        padding: 1.5rem;
    }
    
    .platform-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .platform-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .platform-header h3 {
        font-size: 1.25rem;
    }
    
    .platform-steps .step {
        padding: 0.75rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .game-category {
        padding: 2rem 1.5rem;
    }
    
    .game-icon {
        font-size: 3rem;
    }
    
    .game-category h3 {
        font-size: 1.25rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .download-platform {
        padding: 1rem;
    }
    
    .platform-steps .step {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .game-category {
        padding: 1.5rem 1rem;
    }
    
    .game-icon {
        font-size: 2.5rem;
    }
    
    .game-category h3 {
        font-size: 1.1rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Animation Enhancements */
.download-platform {
    animation: slideInUp 0.6s ease-out;
}

.download-platform:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-category {
    animation: fadeInScale 0.6s ease-out;
}

.game-category:nth-child(1) { animation-delay: 0.1s; }
.game-category:nth-child(2) { animation-delay: 0.2s; }
.game-category:nth-child(3) { animation-delay: 0.3s; }
.game-category:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Special Effects for App Page */
.download-platform::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #F8CA50, transparent, #F8CA50);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-platform:hover::after {
    opacity: 0.3;
}

.game-category::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #F8CA50, transparent, #F8CA50);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-category:hover::after {
    opacity: 0.2;
}
