:root {
    /* Color Palette derived from user image */
    --color-bg-dark: #160B22; /* Very dark violet */
    --color-card-bg: rgba(30, 20, 45, 0.95);
    --color-card-border: rgba(255, 105, 180, 0.3);
    
    /* Gradients */
    --gradient-sunset: linear-gradient(135deg, #FF7E5F 0%, #FEB47B 50%, #FF69B4 100%);
    --gradient-vice: linear-gradient(90deg, #FF007F, #7928CA);
    --gradient-text: linear-gradient(to right, #FFD700, #FF69B4);
    
    --text-main: #FFFFFF;
    --text-muted: #BDB3CB;
    
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Sunset background with blur */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 15% 50%, rgba(255, 126, 95, 0.15), transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255, 105, 180, 0.15), transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(121, 40, 202, 0.15), transparent 50%);
    z-index: -1;
    pointer-events: none;
}

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

/* Header & Hero */
.hero {
    position: relative;
    padding: 120px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 1;
    opacity: 0.25;
    filter: blur(3px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(22, 11, 34, 0.2) 0%, rgba(22, 11, 34, 1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.logo-text {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-text span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.5));
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-card-border);
    border-radius: 50px;
    padding: 5px 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.search-container:focus-within {
    border-color: #FF69B4;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}

#searchInput {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    padding: 15px 0;
    outline: none;
    font-family: inherit;
}

#searchInput::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-container button {
    background: transparent;
    border: none;
    color: #FF69B4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-note {
    margin-top: 20px;
    font-size: 0.7rem;
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    max-width: 500px;
    animation: pulse 2s infinite;
}

.main-watermark-glass {
    margin: 15px auto 0;
    display: block;
    width: fit-content;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--vice-pink);
    letter-spacing: 1px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(255, 105, 180, 0.05);
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-watermark-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(255, 105, 180, 0.1);
}

.views-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
    opacity: 0.8;
}

.views-count svg {
    opacity: 0.7;
    color: var(--text-muted);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}
/* Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.filter-btn:hover {
    background: rgba(255, 105, 180, 0.2);
    border-color: #FF69B4;
}

.filter-btn.active {
    background: var(--gradient-vice);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}

/* Cheat Grid & Feature Image */
.feature-image-container {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
    border: 1px solid var(--color-card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s ease;
}

.feature-image-container:hover .feature-img {
    transform: scale(1.05);
}

.feature-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(22, 11, 34, 0.9), transparent 50%);
    pointer-events: none;
}

.cheats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding-bottom: 60px;
}

/* Cheat Card Glassmorphism */
.cheat-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* Performance Optimizations for 120fps */
    content-visibility: auto;
    contain-intrinsic-size: 200px;
    transform: translateZ(0);
}

.cheat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-vice);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.cheat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 105, 180, 0.2);
    border-color: rgba(255, 105, 180, 0.6);
}

.cheat-card:hover::before {
    transform: scaleX(1);
}

.cheat-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 10px;
}

.cheat-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
}

.platform-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}
.platform-ps5 {
    background: rgba(0, 67, 156, 0.2);
    color: #4da6ff;
    border: 1px solid rgba(0, 67, 156, 0.5);
}
.platform-pc {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.platform-xbox {
    background: rgba(16, 124, 16, 0.2);
    color: #107C10;
    border: 1px solid rgba(16, 124, 16, 0.5);
}

.cheat-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cheat-code-wrapper {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.cheat-code {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFD700; /* Gold */
    letter-spacing: 1px;
}

.copy-icon {
    color: var(--text-muted);
    transition: var(--transition);
}

.cheat-card:hover .copy-icon {
    color: #FF69B4;
}

/* Toast */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-vice);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.toast.show {
    bottom: 30px;
}

/* PlayStation 3D Buttons */
.ps-btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
}

.ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0,0,0,0.8);
    box-shadow: 0 4px 0 #111, 0 5px 5px rgba(0,0,0,0.5);
    transition: all 0.1s;
    user-select: none;
    position: relative;
    top: 0;
    cursor: default;
}

.ps-btn:active {
    box-shadow: 0 1px 0 #111, 0 1px 2px rgba(0,0,0,0.5);
    top: 3px;
}

/* Action Buttons (Round) */
.ps-btn-action {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle, #444 0%, #1a1a1a 100%);
    border: 1px solid #555;
    font-size: 18px;
}

.ps-btn-triangle { color: #32E17C; } /* Green */
.ps-btn-circle { color: #F05A56; } /* Red */
.ps-btn-cross { color: #7689DB; } /* Blue */
.ps-btn-square { color: #E794BA; } /* Pink */

/* Xbox Colors */
.xbox-btn-y { color: #FFC107; } /* Yellow */
.xbox-btn-b { color: #F05A56; } /* Red */
.xbox-btn-a { color: #32E17C; } /* Green */
.xbox-btn-x { color: #4da6ff; } /* Blue */

/* D-Pad Buttons */
.ps-btn-dpad {
    width: 24px;
    height: 24px;
    background: linear-gradient(to bottom, #444, #222);
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
}

/* Triggers */
.ps-btn-trigger {
    padding: 0 8px;
    height: 22px;
    background: linear-gradient(to bottom, #333, #111);
    border: 1px solid #444;
    border-radius: 6px;
    color: #eee;
    font-size: 11px;
    letter-spacing: 1px;
    box-shadow: 0 3px 0 #000, 0 4px 4px rgba(0,0,0,0.5);
}
.ps-btn-trigger:active {
    box-shadow: 0 1px 0 #000, 0 1px 1px rgba(0,0,0,0.5);
    top: 2px;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.faq-section h2 {
    color: var(--vice-pink);
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 105, 180, 0.3);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.faq-question i {
    color: var(--vice-pink);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}
/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 5, 20, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    background: var(--color-bg-dark);
    border: 2px solid var(--color-card-border);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--vice-pink);
}

.lightbox-content .cheat-card {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    cursor: default;
    transform: none !important;
}

.lightbox-content .cheat-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.lightbox-content .cheat-desc {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.lightbox-content .ps-btn-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    justify-content: center;
    gap: 12px;
}

.lightbox-watermark {
    text-align: center;
    margin-top: 25px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--vice-pink);
    opacity: 0.8;
    letter-spacing: 1px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 80px 15px 40px;
    }
    .logo-text { font-size: 2.5rem; }
    .logo-text span { font-size: 3rem; }
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }
    .search-container {
        padding: 5px 15px;
    }
    #searchInput {
        font-size: 1rem;
        padding: 10px 0;
    }
    .category-filters { gap: 10px; margin: 25px 0; }
    .filter-btn { padding: 8px 16px; font-size: 0.9rem; }
    .feature-image-container {
        height: 200px;
        margin-bottom: 30px;
    }
    .cheats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
