/* Blog Post Styles */
.blog-hero {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, #2f3542 0%, #57606f 100%);
    color: white;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: white;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.blog-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.blog-category {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 30px;
    font-weight: 500;
}

.blog-date, .blog-reading-time {
    opacity: 0.8;
}

.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.blog-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
}

.author-title {
    font-size: 14px;
    opacity: 0.8;
}

/* Blog Post Content */
.blog-post {
    padding: 60px 0;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-sidebar {
    width: 300px;
    padding-left: 40px;
}

.blog-featured-image {
    margin-bottom: 40px;
}

.blog-featured-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.blog-featured-image figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

.blog-intro .lead {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.blog-highlights {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.blog-highlights h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.blog-highlights ul {
    padding-left: 20px;
}

.blog-highlights li {
    margin-bottom: 8px;
}

.blog-content h2 {
    font-size: 1.8rem;
    margin: 50px 0 20px;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

.blog-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-image-comparison {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.comparison-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.comparison-item img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 10px;
}

.comparison-item span {
    font-size: 14px;
    color: var(--text-light);
}

.blog-quote {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.blog-quote blockquote {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

.blog-quote footer {
    text-align: right;
    font-style: normal;
}

.blog-quote cite {
    font-style: normal;
    font-weight: 600;
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: var(--box-shadow);
}

.blog-table th, .blog-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.blog-table th {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 500;
}

.blog-table tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

.blog-table tr:hover {
    background-color: rgba(255, 71, 84, 0.05);
}

.blog-games-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.game-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.game-card h3 {
    font-size: 1.1rem;
    margin: 15px 15px 10px;
}

.game-card p {
    font-size: 0.9rem;
    margin: 0 15px 15px;
    color: var(--text-light);
}

.blog-video-embed {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.video-caption {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    margin-top: 10px;
}

.blog-legacy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.legacy-item {
    display: flex;
    gap: 15px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.legacy-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 71, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.legacy-content h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.legacy-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.blog-conclusion {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 50px 0 30px;
}

.blog-conclusion h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 40px;
}

.blog-tags span {
    font-weight: 500;
}

.blog-tags a {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--bg-secondary);
    border-radius: 30px;
    font-size: 14px;
    transition: var(--transition);
}

.blog-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Blog Sidebar */
.blog-sidebar {
    float: right;
    width: 300px;
    padding-left: 40px;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.author-card {
    text-align: center;
}

.author-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--bg-secondary);
}

.author-card h4 {
    margin-bottom: 5px;
}

.author-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.author-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
}

.author-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.popular-posts {
    display: grid;
    gap: 15px;
}

.popular-post {
    display: flex;
    gap: 15px;
    align-items: center;
    transition: var(--transition);
}

.popular-post:hover {
    transform: translateX(5px);
}

.popular-post img {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.popular-post-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.post-date {
    font-size: 12px;
    color: var(--text-light);
}

.sidebar-newsletter input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    font-size: 14px;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.category-list span {
    font-size: 12px;
    background-color: var(--bg-secondary);
    padding: 3px 8px;
    border-radius: 30px;
}

/* Related Posts */
.related-posts {
    padding: 60px 0;
    background-color: var(--bg-secondary);
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-10px);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-content {
    padding: 20px;
}

.related-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.related-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

/* Comments Section */
.comments-section {
    padding: 60px 0;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.comments-count {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: normal;
}

.comment-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.comment-form h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
}

.comment {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author-name {
    font-weight: 600;
    display: block;
}

.comment-date {
    font-size: 12px;
    color: var(--text-light);
}

.comment-content {
    margin-bottom: 15px;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.comment-like, .comment-reply {
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-like:hover, .comment-reply:hover {
    color: var(--primary-color);
}

.comment-replies {
    padding-left: 30px;
    margin-top: 20px;
    border-left: 2px solid var(--bg-secondary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .blog-content {
        padding-right: 0;
    }
    
    .blog-sidebar {
        width: 100%;
        padding-left: 0;
        float: none;
        margin-top: 60px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 100px 0 30px;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-content {
        font-size: 1rem;
    }
    
    .blog-image-comparison {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .blog-hero h1 {
        font-size: 1.8rem;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .comments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .comment-replies {
        padding-left: 15px;
    }
}















/* Base Styles */
:root {
    --primary-color: #ff4754;
    --secondary-color: #2f3542;
    --accent-color: #57606f;
    --light-color: #f1f2f6;
    --dark-color: #2f3542;
    --success-color: #2ed573;
    --warning-color: #ffa502;
    --danger-color: #ff4754;
    --info-color: #1e90ff;
    --text-color: #2f3542;
    --text-light: #747d8c;
    --bg-color: #ffffff;
    --bg-secondary: #f1f2f6;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Press Start 2P', cursive;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e8414d;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #3d4451;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 20px;
    margin-right: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-heading);
}

.logo-text span {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    margin-right: 20px;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--primary-color);
}

.login-btn {
    padding: 8px 20px;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.login-btn:hover {
    background-color: #e8414d;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-left: 20px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.hero-img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.platform-icons {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.platform-icons span {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    color: white;
    box-shadow: var(--box-shadow);
}

.platform-icons .nes {
    background-color: #e74c3c;
}

.platform-icons .snes {
    background-color: #3498db;
}

.platform-icons .genesis {
    background-color: #2ecc71;
}

.platform-icons .gb {
    background-color: #f39c12;
}

/* Featured Games Section */
.featured-games {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.filter-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 30px;
    background-color: var(--bg-secondary);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.game-card-content {
    padding: 20px;
}

.game-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.game-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.game-card-platform {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.platform-nes {
    background-color: #e74c3c;
}

.platform-snes {
    background-color: #3498db;
}

.platform-genesis {
    background-color: #2ecc71;
}

.platform-gb {
    background-color: #f39c12;
}

.game-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-card-rating {
    color: #f39c12;
    font-size: 14px;
}

.game-card-btn {
    padding: 6px 12px;
    font-size: 14px;
}

/* Consoles Section */
.consoles-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.consoles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.console-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.console-card:hover {
    transform: translateY(-10px);
}

.console-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}

.console-icon.nes {
    background-color: #e74c3c;
}

.console-icon.snes {
    background-color: #3498db;
}

.console-icon.genesis {
    background-color: #2ecc71;
}

.console-icon.gb {
    background-color: #f39c12;
}

.console-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.console-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 71, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.about-section .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background-color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-secondary);
}

.faq-question i {
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 16px;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.small-text {
    font-size: 12px;
    margin-top: 15px;
    opacity: 0.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 71, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 20px;
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-content p {
    color: var(--text-light);
}

.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 71, 84, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #b2b2b2;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-about {
    color: #b2b2b2;
    margin: 15px 0;
    line-height: 1.7;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: #b2b2b2;
}

.disclaimer {
    font-size: 12px;
    margin-top: 10px;
    opacity: 0.7;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    background-color: white;
    width: 90%;
    max-width: 600px;
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    transform: translateY(-50px);
    transition: var(--transition);
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.close-search {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-search:hover {
    color: var(--primary-color);
}

.search-form {
    display: flex;
    margin-bottom: 20px;
}

.search-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 16px;
}

.search-form button {
    padding: 0 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
}

.search-result-item:hover {
    background-color: var(--bg-secondary);
}

.search-result-img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 15px;
}

.search-result-info h4 {
    margin-bottom: 5px;
}

.search-result-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
        padding: 80px 30px 30px;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-section .container {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .console-card {
        padding: 20px 15px;
    }
}







/* Game Content Page Styles */
.game-content {
    padding: 40px 0 60px;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-color);
}

.game-title-section {
    margin-bottom: 30px;
}

.game-title-section h1 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

.game-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}

.game-platform {
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    color: white;
}

.game-platform.ps2 {
    background-color: #0066cc;
}

.game-year {
    color: var(--text-light);
}

.game-rating {
    color: #f39c12;
}

.game-details {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.game-main {
    flex: 1;
    min-width: 300px;
}

.game-media {
    margin-bottom: 30px;
}

.game-cover {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 15px;
}

.game-screenshots {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.game-screenshots img {
    width: 200px;
    height: 150px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.game-screenshots img:hover {
    transform: scale(1.03);
}
 
.game-description p{
    margin-bottom: 20px;
    line-height: 2.1;
}

.game-description li{
    margin-bottom: 10px;
}

.game-description ul{
    margin-bottom: 20px;
}

.game-description {
    line-height: 1.9;
    margin-bottom: 30px;
    font-size: 15px;
}

.game-description h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.game-info-box {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 25px 0;
}

.game-info-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.game-info-box ul {
    padding-left: 20px;
}

.game-info-box li {
    margin-bottom: 8px;
}

.game-info-box strong {
    color: var(--secondary-color);
}

.game-download {
    width: 350px;
    min-width: 300px;
}

.download-box {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 100px;
}

.download-box h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--bg-secondary);
    padding-bottom: 10px;
}

.download-options {
    margin-bottom: 25px;
}

.download-option {
    margin-bottom: 20px;
}

.download-option h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    font-weight: 600;
}

.file-size {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
    text-align: center;
}

.download-notice {
    background-color: #fff8e6;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.download-notice h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #d39e00;
}

.download-notice p {
    font-size: 14px;
    line-height: 1.6;
}

/* Requirements Section */
.game-requirements {
    margin-bottom: 50px;
}

.game-requirements h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-align: center;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.requirement-card {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.requirement-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 71, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary-color);
}

.requirement-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.requirement-card ul {
    text-align: left;
    padding-left: 20px;
}

.requirement-card li {
    margin-bottom: 8px;
    font-size: 14px;
}

.requirement-card p {
    margin-bottom: 15px;
    font-size: 14px;
}

/* Guides Section */
.game-guides {
    margin-bottom: 50px;
}

.game-guides h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-align: center;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.guide-card {
    display: flex;
    gap: 15px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: white;
}

.guide-card:hover .guide-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.guide-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 71, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: var(--transition);
}

.guide-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.guide-content p {
    font-size: 14px;
    opacity: 0.8;
}

.guide-card:hover .guide-content p {
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .game-details {
        flex-direction: column;
    }
    
    .game-download {
        width: 100%;
    }
    
    .download-box {
        position: static;
    }
}

@media (max-width: 768px) {
    .game-title-section h1 {
        font-size: 1.2rem !important;
    }
    
    .game-screenshots img {
        width: 180px;
        height: 135px;
    }
}

@media (max-width: 576px) {
    .game-title-section h1 {
        font-size: 1.8rem;
    }
    
    .game-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .game-screenshots {
        gap: 8px;
    }
    
    .game-screenshots img {
        width: 160px;
        height: 120px;
    }
}





/* Related ROMs Section */
.related-roms {
    margin: 50px 0;
}

.related-roms h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-align: center;
}

.roms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.rom-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.rom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.rom-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.rom-content {
    padding: 15px;
}

.rom-content h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.rom-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

.rom-platform {
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: white;
}

.rom-platform.ps2 {
    background-color: #0066cc;
}

.rom-year {
    color: var(--text-light);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .roms-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .rom-card img {
        height: 120px;
    }
    
    .rom-content h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .roms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* Container for centering */
 .button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    
    padding: 20px;
    box-sizing: border-box;
  }

  /* Button styling */
  .image-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden !important;
    position: relative;
    animation: riseAndScale 4s infinite ease-in-out;
  }

  .image-button img {
    display: block;
    width: 100%;
    max-width: 300px; /* Adjust as needed */
    height: auto;
    transition: transform 0.3s ease;
  }

  /* Animation */
  @keyframes riseAndScale {
    0%, 100% {
      transform: translateY(0) scale(1);
    }
    50% {
      transform: translateY(-5px) scale(1.1);
    }
  }

  /* Media queries for smaller screens */
  @media (max-width: 768px) {
    .image-button img {
      max-width: 150px; /* Smaller image on mobile */
    }
  }

  @media (max-width: 480px) {
    .image-button img {
      max-width: 100%; /* Even smaller image on very small screens */
    }
  }



  .download-security {
    /* display: flex; */
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    color: var(--text-light);
    font-size: 0.8rem;
    text-align: center;
}

.download-security i {
    color: #4CAF50;
}
















.download-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* min-height: 50vh; */
}

.countdown-box {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 500px;
}

.countdown-box h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.countdown {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.download-link-box {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    width: 100%;
    max-width: 500px;
    display: none; /* Initially hidden */
}

.download-link-box h1 {
    font-size: 18px;
    
}

.download-btn {
    font-size: 13px;
    padding: 12px 30px;
    margin-bottom: 0.5rem;
    background-color: var(--primary-color);
    color: #ffffff;
}

.social-media2 {
    margin-top: 2rem;
}

.social-media2 p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.social-icons2 {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons2 a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons2 a:hover {
    color: var(--primary-color);
}




.video-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
  .video-container img {
    width: 100%;
    display: block;
  }
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    background: rgba(255, 0, 0, 0.7);
    width: 80px; /* Fixed width */
    height: 80px; /* Fixed height */
    border-radius: 50%; /* Makes it a circle */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease; /* Optional: Adds a hover effect */
  }
  .play-button:hover {
    background: rgba(255, 0, 0, 0.9); /* Optional: Darker red on hover */
  }




  /* Container for centering */
 .button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    
    padding: 20px;
    box-sizing: border-box;
  }

  /* Button styling */
  .image-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden !important;
    position: relative;
    animation: riseAndScale 4s infinite ease-in-out;
  }

  .image-button img {
    display: block;
    width: 100%;
    max-width: 300px; /* Adjust as needed */
    height: auto;
    transition: transform 0.3s ease;
  }

  /* Animation */
  @keyframes riseAndScale {
    0%, 100% {
      transform: translateY(0) scale(1);
    }
    50% {
      transform: translateY(-5px) scale(1.1);
    }
  }

  /* Media queries for smaller screens */
  @media (max-width: 768px) {
    .image-button img {
      max-width: 150px; /* Smaller image on mobile */
    }
  }

  @media (max-width: 480px) {
    .image-button img {
      max-width: 100%; /* Even smaller image on very small screens */
    }
  }




          /* Floating CTA styles */
:root{
  --cta-bg: #3b82f6;      /* main pill color (blue) */
  --cta-accent: #10b981;  /* small accent / glow (green) */
  --cta-size: 64px;       /* height (and width for circle) */
  --cta-radius: 34px;     /* pill corner radius */
  --cta-shadow: 0 8px 20px rgba(16,24,40,0.35);
  --cta-text: #ffffff;
}

/* Base reset for anchor button */
.floating-cta{
  position: fixed;
  right: 20px;               /* distance from right edge */
  bottom: 100px;              /* distance from bottom edge */
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--cta-text);
  background: linear-gradient(180deg, var(--cta-bg), color-mix(in srgb, var(--cta-bg) 80%, black 10%));
  height: var(--cta-size);
  min-width: calc(var(--cta-size) * 1.25); /* pill wider than tall */
  padding: 0 14px;
  border-radius: var(--cta-radius);
  box-shadow: var(--cta-shadow);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(4px);
  align-self: end;
  will-change: transform;
}

/* inner shape keeps icon centered and circular */
.floating-cta .cta-shape{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--cta-size) - 18px);
  width: calc(var(--cta-size) - 18px);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
}

/* SVG icon sizing */
.floating-cta svg{
  width: 22px;
  height: 22px;
  display: block;
  color: var(--cta-text);
}

/* Hover / active / focus effects */
.floating-cta:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(16,24,40,0.45);
  filter: saturate(1.05);
}
.floating-cta:active{
  transform: translateY(-2px) scale(.995);
}
.floating-cta:focus{
  outline: none;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--cta-accent) 18%, transparent);
}

/* small pulsing accent behind the button */
.floating-cta::after{
  content: "";
  position: absolute;
  inset: auto;
  right: 12px;
  bottom: 12px;
  width: calc(var(--cta-size) * 0.9);
  height: calc(var(--cta-size) * 0.9);
  border-radius: 999px;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--cta-accent) 60%, transparent) 0%, transparent 40%);
  opacity: 0.25;
  filter: blur(6px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  transform: scale(.9);
}

/* optional "allowed" state (green accent) */
.floating-cta.allowed{
  --cta-bg: #06b75a;
}
.floating-cta.allowed::after{
  opacity: .45;
  transform: scale(1.05);
}

/* Responsive tweak on very small screens */
@media (max-width:420px){
  :root{ --cta-size: 54px; --cta-radius: 28px; }
  .floating-cta{ right: 12px; bottom: 12px; min-width: calc(var(--cta-size) * 1.1); padding: 0 10px; }
  .floating-cta::after{ right: 8px; bottom: 8px; }

  .floating-cta{
              /* distance from right edge */
  bottom: 100px; 
  }  
}

/* If you want the pill narrower (icon only), add this helper class:
   <a class="floating-cta icon-only"> ... </a> */
.floating-cta.icon-only{
  padding: 0;
  width: var(--cta-size);
  min-width: var(--cta-size);
  border-radius: 999px;
}



