/* Custom styles for Epic Mine website */
:root {
    --primary-red: #ff4d4d;
    --primary-blue: #4d79ff;
    --dark-bg: #1a1a2e;
    --light-bg: #2a2a3e;
    --text-color: #ffffff;
    --accent-yellow: #ffd700;
}

body {
    font-family: 'Press Start 2P', 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    background-image: url('images/pixel-bg.png');
    background-size: 200px;
    background-repeat: repeat;
}

header {
    background-color: rgba(26, 26, 46, 0.95);
    border-bottom: 4px solid var(--primary-red);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header img {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 77, 77, 0.5));
}

header img:hover {
    transform: scale(1.05) rotate(5deg);
}

header h1 {
    text-shadow: 2px 2px 0 var(--primary-blue);
    letter-spacing: 1px;
    font-family: 'Press Start 2P', sans-serif;
}

header p {
    font-family: 'Press Start 2P', sans-serif;
    letter-spacing: 1px;
    opacity: 0.8;
}

.game-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 60vh;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    margin-bottom: 4rem;
    border: 4px solid var(--primary-blue);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(77, 121, 255, 0.3);
}

.game-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform: scale(1.1);
    transform-origin: center center;
}

.game-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
}

/* Card Styles */
.feature-card, .review-card, .team-card, .strategy-card, .love-card, .why-card {
    background-color: var(--light-bg);
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before, .review-card::before, .team-card::before, 
.strategy-card::before, .love-card::before, .why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
}

.feature-card:hover, .review-card:hover, .team-card:hover, 
.strategy-card:hover, .love-card:hover, .why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(77, 121, 255, 0.2);
}

/* Section Headers */
section h2 {
    color: var(--primary-red);
    text-shadow: 2px 2px 0 var(--primary-blue);
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-red), var(--primary-blue));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-left: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 1.5rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--primary-red);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(77, 121, 255, 0.3);
}

.timeline-item h3 {
    color: var(--primary-red);
    text-shadow: 2px 2px 0 var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Press Start 2P', sans-serif;
}

.timeline-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Button Styles */
#fullscreen-btn {
    background-color: var(--primary-red);
    border: 2px solid var(--primary-blue);
    color: white;
    font-family: 'Press Start 2P', sans-serif;
    transition: all 0.3s ease;
}

#fullscreen-btn:hover {
    background-color: var(--primary-blue);
    transform: scale(1.05);
}

/* Icon Styles */
.icon-container {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-container {
        height: 50vh;
    }
    
    .game-wrapper {
        transform: scale(1);
    }
}

/* Pixel Art Elements */
.pixel-border {
    border: 4px solid var(--primary-blue);
    border-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8"><rect width="8" height="8" fill="%234d79ff"/><rect x="2" y="2" width="4" height="4" fill="%23ff4d4d"/></svg>') 4;
    padding: 4px;
    background-color: rgba(26, 26, 46, 0.8);
    box-shadow: 0 0 10px rgba(77, 121, 255, 0.3);
}

.pixel-button {
    background-color: var(--primary-red);
    border: 4px solid var(--primary-blue);
    padding: 8px 16px;
    font-family: 'Press Start 2P', sans-serif;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.pixel-button:hover {
    background-color: var(--primary-blue);
    transform: scale(1.05);
}

/* Footer Styles */
footer {
    background-color: var(--light-bg);
    border-top: 4px solid var(--primary-red);
}

/* Add pixel art font */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

.screenshot-card img {
    transition: transform 0.3s ease;
}

.screenshot-card:hover img {
    transform: scale(1.05);
}

/* Language selector styling */
.language-selector select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

/* Strategy and Timeline Styles */
.strategy-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Love and Why Cards Styles */
.love-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.love-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.love-card .icon-container {
    transition: transform 0.3s ease;
}

.love-card:hover .icon-container {
    transform: scale(1.1);
}

.why-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.why-card ul li {
    transition: transform 0.3s ease;
}

.why-card:hover ul li {
    transform: translateX(5px);
}

/* Game Icon Styles */
.game-icon {
    background: linear-gradient(135deg, var(--dark-bg), var(--light-bg));
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 77, 77, 0.1) 0%,
        rgba(77, 121, 255, 0.1) 100%
    );
    z-index: 1;
}

.game-icon svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 4px rgba(255, 77, 77, 0.5));
    transition: all 0.3s ease;
}

.game-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.3);
}

.game-icon:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 77, 77, 0.7));
}

/* How to Play Styles */
.prose {
    background: var(--light-bg);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.prose:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(77, 121, 255, 0.3);
}

.prose h3 {
    color: var(--primary-red);
    text-shadow: 2px 2px 0 var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-family: 'Press Start 2P', sans-serif;
}

.prose h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
}

.prose p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
} 