﻿/* ArcadeVault - Detail Page Styles */
:root {
    --primary: #ff00ff;
    --secondary: #00ffff;
    --accent: #ffff00;
    --dark: #0f0f30;
    --darker: #050520;
    --light: #f0f0ff;
    --card-bg: rgba(15, 15, 48, 0.8);
    --header-bg: rgba(5, 5, 32, 0.95);
    --shadow-neon: 0 0 10px rgba(255, 0, 255, 0.7);
    --gradient-neon: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    --font-heading: 'Tahoma', 'Arial', sans-serif;
    --font-body: 'Verdana', 'Geneva', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 255, 255, 0.1) 0%, transparent 25%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

ul {
    list-style-type: none;
}

/* Header */
.neon-header {
    background: var(--header-bg);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--primary);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--light);
    text-shadow: 0 0 5px var(--primary), 0 0 15px var(--primary);
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    transform: scale(1.05);
}

.search-wrapper {
    width: 300px;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 25px 0 0 25px;
    background: rgba(15, 15, 48, 0.5);
    color: var(--light);
    outline: none;
    transition: all 0.3s ease;
}

.search-form input:focus {
    background: rgba(15, 15, 48, 0.8);
    box-shadow: 0 0 8px var(--primary);
}

.search-form button {
    padding: 0.6rem 1.2rem;
    background: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 0 25px 25px 0;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

.game-detail-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

/* Game Hero Section */
.game-hero {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.game-images {
    width: 100%;
}

.main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.5rem;
}

.image-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--primary);
}

.game-info {
    padding: 2rem;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.game-header h1 {
    font-size: 2.5rem;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
    margin-bottom: 0.5rem;
}

.game-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.rating {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.release-date {
    color: rgba(240, 240, 255, 0.7);
}

.game-tags {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.game-tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 0, 255, 0.2);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
}

.game-description {
    margin-bottom: 1.5rem;
}

.game-description p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.game-features {
    margin-bottom: 2rem;
}

.game-features h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.game-features ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.game-features li {
    margin-bottom: 0.5rem;
}

.game-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.play-button {
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: var(--light);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.play-button:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--accent);
}

.wishlist-button {
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--light);
    border: 1px solid var(--primary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.wishlist-button:hover {
    background: rgba(255, 0, 255, 0.2);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Similar Games Section */
.similar-games h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
    font-size: 1.8rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.game-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.2);
    height: 100%;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--secondary);
    border-color: var(--secondary);
}

.card-image {
    position: relative;
    height: 150px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: var(--dark);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.card-content {
    padding: 1.2rem;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.card-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(240, 240, 255, 0.7);
}

.genre {
    padding: 0.2rem 0.5rem;
    background: rgba(255, 0, 255, 0.2);
    border-radius: 3px;
}

.platform {
    padding: 0.2rem 0.5rem;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 3px;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 7rem;
    height: max-content;
}

.sidebar-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid var(--primary);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-toggle span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent);
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.sidebar-content {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
}

.sidebar-content.active {
    padding: 1.5rem;
    max-height: 800px;
    opacity: 1;
    visibility: visible;
    margin-bottom: 1rem;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.sidebar-section ul li {
    margin-bottom: 0.7rem;
}

.sidebar-section ul li a {
    display: block;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sidebar-section ul li a:hover {
    background: rgba(255, 0, 255, 0.1);
    color: var(--accent);
    padding-left: 1rem;
}

/* Footer */
.site-footer {
    background: var(--header-bg);
    padding: 2rem 0;
    border-top: 1px solid var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 5px var(--accent);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .game-detail-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-wrapper {
        width: 100%;
    }
    
    .game-header {
        flex-direction: column;
    }
    
    .game-meta {
        margin-top: 1rem;
    }
    
    .game-actions {
        flex-direction: column;
    }
    
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .card-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
}

/* Comments and Reviews Section */
.game-comments {
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    padding: 2rem;
    margin-top: 3rem;
}

.game-comments h2 {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
    margin-bottom: 1.5rem;
}

.comment-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 0, 255, 0.3);
}

/* Rating Display */
.comment-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.rating-stars {
    font-size: 1.5rem;
    color: var(--accent);
    margin: 0.5rem 0;
}

.rating-count {
    font-size: 0.9rem;
    color: rgba(240, 240, 255, 0.7);
}

/* Share Buttons */
.share-buttons {
    text-align: center;
}

.share-buttons h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.social-buttons {
    display: flex;
    gap: 0.5rem;
}

.social-button {
    padding: 0.7rem 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.social-button.facebook {
    background: #1877f2;
}

.social-button.twitter {
    background: #1da1f2;
}

.social-button.reddit {
    background: #ff4500;
}

.social-button.copy-link {
    background: var(--dark);
    border: 1px solid var(--primary);
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Comment Form */
.comment-form-container {
    background: rgba(15, 15, 48, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.comment-form-container h3 {
    margin-bottom: 1.2rem;
    color: var(--secondary);
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group:nth-child(3),
.form-group:nth-child(4) {
    grid-column: span 2;
}

.comment-form label {
    margin-bottom: 0.5rem;
    color: var(--light);
}

.comment-form input,
.comment-form textarea {
    padding: 0.8rem;
    background: rgba(15, 15, 48, 0.7);
    border: 1px solid var(--primary);
    border-radius: 5px;
    color: var(--light);
    font-family: var(--font-body);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 5px var(--accent);
}

/* Star Rating Input */
.rating-input {
    margin-bottom: 0.5rem;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23888" d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: all 0.2s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23ffff00" d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>');
}

.submit-comment {
    grid-column: span 2;
    padding: 0.8rem;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-comment:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Comments List */
.comments-list {
    margin-top: 2rem;
}

.comments-list h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.comment {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 0, 255, 0.2);
    margin-bottom: 1rem;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
    gap: 0.8rem;
}

.comment-header h4 {
    margin: 0;
    color: var(--light);
    font-size: 1.1rem;
}

.comment-rating {
    color: var(--accent);
    font-size: 0.9rem;
}

.comment-date {
    color: rgba(240, 240, 255, 0.6);
    font-size: 0.8rem;
    margin-left: auto;
}

.comment-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.like-button,
.reply-button {
    background: transparent;
    border: 1px solid rgba(255, 0, 255, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.like-button:hover,
.reply-button:hover {
    background: rgba(255, 0, 255, 0.2);
    border-color: var(--primary);
}

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-comments {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--light);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-comments:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive styles for comments */
@media (max-width: 768px) {
    .comment-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .comment-form {
        grid-template-columns: 1fr;
    }
    
    .form-group:nth-child(3),
    .form-group:nth-child(4) {
        grid-column: span 1;
    }
    
    .submit-comment {
        grid-column: span 1;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-avatar {
        align-self: center;
        margin-bottom: 1rem;
    }
} 