@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background-color: #fdfdfd;
    line-height: 1.6;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-in-out;
}

.intro {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-in-out;
    flex-wrap: wrap;
}

.profile-pic {
    width: 160px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: slideIn 1s ease-in;
}

.intro-text p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.8;
}

/* Updated headings (removed bottom borders) */
h1,
h2,
h3 {
    color: #0d3b66;
    font-weight: 600;
    padding-bottom: 0.3rem;
    margin-top: 2rem;
    position: relative;
    animation: slideIn 0.5s ease forwards;
}

/* Compact and super clean resume blocks */
.resume-section {
    background-color: #fafafa;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    margin: 1rem 0;
    box-shadow: none;
    animation: fadeIn 0.8s ease-in;
}

hr {
    display: none;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

.resume-section ul {
    padding-left: 1.2rem;
    margin: 0.5rem 0;
}

.resume-section li {
    margin-bottom: 0.4rem;
}

/* Additional CSS to add to your styles.css file */

/* Resume Header - Matching the hero section styling */
.resume-header {
    padding: 6rem 10% 3rem;
    animation: fadeIn 0.8s ease-in-out;
}

.resume-header h1 {
    background: linear-gradient(135deg, #0d3b66 0%, #3a7ca5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 1px 1px 2px rgba(13, 59, 102, 0.05);
    animation: fadeUp 1s ease-out;
    margin-top: 0;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.contact-links {
    margin: 2rem 0;
    animation: fadeUp 1s ease-out 0.4s backwards;
}

/* Resume Preview Section */
.resume-preview-section {
    padding: 2rem 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.resume-preview {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.resume-preview embed {
    border: 2px solid #0d3b66;
    border-radius: 8px;
    display: block;
}

/* Experience Items Styling */
.section-content {
    padding: 0.5rem 0;
    animation: fadeUp 0.8s ease-out;
}

.experience-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.resume-section h2 {
    color: #0d3b66;
    margin-top: 0;
    margin-bottom: 1rem;
    animation: slideIn 0.5s ease forwards;
}

.resume-section {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.8s ease-in-out;
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    color: #777;
    font-size: 0.9rem;
}

.resume-section ul li {
    margin-bottom: 0.8rem;
    position: relative;
    animation: fadeUp 0.8s ease-out;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .resume-header {
        padding: 3rem 5% 2rem;
    }

    .resume-section {
        padding: 1.2rem 1.5rem;
    }
}

a {
    color: #007acc;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    text-decoration: underline;
    color: #005fa3;
}

/* Updated Button Styling */
a.button {
    display: inline-block;
    background: linear-gradient(135deg, #0d3b66 0%, #3a7ca5 100%);
    color: white !important; /* Important to ensure text color is always white */
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none !important;
    margin: 0.5rem 0.5rem 0.5rem 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(13, 59, 102, 0.2);
}

a.button:hover {
    background: linear-gradient(135deg, #0a2d4d 0%, #2c5a7c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 59, 102, 0.25);
}

/* Button Animation Effects */
a.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

a.button:hover::after {
    animation: ripple 1s ease-out;
}

/* Fun bounce effect for Say Hello button - starts after initial fade in */
.hero .button[href="#light-greeting"] {
    animation: fadeInUp 1s ease-out 1.5s forwards !important;
    opacity: 1 !important;
    margin-top: 1rem !important;
    display: inline-block;
    position: relative;
    z-index: 10;
}

.hero .button[href="#light-greeting"]:hover {
    animation: none !important;
    opacity: 1 !important;
    transform: translateY(-2px) !important;
}

/* New Pulse Animation for Button */
@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.animate-button {
    position: relative;
}

.animate-button.pulse {
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 59, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 59, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 59, 102, 0);
    }
}

@keyframes gentleBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}


/* Standard Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Light Greeting Section */
#light-greeting {
    background: #f8f9fa;
    padding: 2.5rem 2rem 2rem;
}

.light-control-wrapper {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.light-control-wrapper h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.light-control-wrapper > p {
    color: #5a6c7d;
    margin-bottom: 1.3rem;
    line-height: 1.6;
}

.minimal-slider-container {
    background: white;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 2px 10px rgba(0, 41, 162, 0.08);
    margin-bottom: 1.3rem;
}

.brightness-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.brightness-label span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.brightness-percentage {
    font-size: 1rem;
    font-weight: 200;
    color: #4a90e2;
}

/* Minimal slider */
.minimal-slider {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #e0e7ff;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.minimal-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4a90e2;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.minimal-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #357abd;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.minimal-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4a90e2;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.send-button {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.send-button:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.send-button:active {
    transform: translateY(0);
}

.status-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #5a6c7d;
    min-height: 1.2rem;
}

.tech-note {
    background: #e8f0fe;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #5a6c7d;
}

.tech-note a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
}

.tech-note a:hover {
    text-decoration: underline;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-nav .nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.floating-nav .nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.floating-nav .nav a:hover {
    color: #4a90e2;
}

/* Projects Section Styles */
.projects-section {
    background: white;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.projects-container {
    max-width: 800px;
    margin: 0 auto;
}

.projects-section h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Interactive Section Styles */
.interactive-section {
    margin-bottom: 2rem;
}

.interactive-game-title {
    color: #4a90e2;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

@keyframes gentle-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.interactive-game-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Make Connect 4 project larger and more prominent */
.connect4-project {
    grid-column: span 1;
    transform: scale(1.05);
    z-index: 2;
    position: relative;
}

/* Add a banner above the Connect 4 project */
.connect4-project::before {
    content: "Click to Play";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #4a90e2, #5ba0f2);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
    white-space: nowrap;
}

/* Remove pointing arrow and animations */

.project-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 41, 162, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8f0fe;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 41, 162, 0.15);
    text-decoration: none;
    color: inherit;
}

/* Disabled project items (non-clickable) */
.project-item.project-disabled {
    cursor: default;
    opacity: 0.7;
}

.project-item.project-disabled:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 41, 162, 0.08);
}

.project-logo {
    width: 60px;
    height: 60px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    color: #4a90e2;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.project-name {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.project-description {
    font-size: 0.9rem;
    color: #5a6c7d;
    line-height: 1.5;
    margin: 0;
}

.project-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.project-description li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.project-description li:before {
    content: "•";
    color: #4a90e2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Skills Section Styles */
.skills-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.skills-section p {
    color: #5a6c7d;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.skills-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.skill-item {
    width: 40px;
    height: 40px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #4a90e2;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: #4a90e2;
    color: white;
    transform: translateY(-2px);
}

.bottom-resume {
    background: #f8f9fa;
    padding: 3rem 2rem;
    text-align: center;
}

.bottom-resume h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.bottom-resume p {
    color: #5a6c7d;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Resume Preview Embed */
.resume-preview {
    max-width: 900px;
    margin: 2rem auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.resume-preview embed {
    border: 2px solid var(--accent);
    border-radius: 8px;
    display: block;
}

/* Resume Action Buttons */
.resume-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.resume-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.resume-actions .button i {
    font-size: 1rem;
}

/* Animation keyframes */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Override specific hero animations */
.hero h1 {
    opacity: 1;
    animation: slideInFromLeft 1.2s ease-out 0.5s backwards;
}

.hero .subtitle {
    opacity: 1;
    animation: slideInFromRight 1.2s ease-out 1s backwards;
}

.hero .button {
    opacity: 1;
    animation: fadeInUp 1s ease-out 1.5s backwards;
}

/* Mobile friendly */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
}

/* Hero Section Enhancements */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    position: relative;
    background-color: #fdfdfd;
    margin-top: 80px;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #0d3b66 0%, #3a7ca5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 1px 1px 2px rgba(13, 59, 102, 0.05);
    animation: fadeUp 1s ease-out;
}

.subtitle {
    font-size: 1.5rem;
    color: #555;
    margin-top: -0.4rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    animation: fadeUp 1s ease-out 0.2s backwards;
}

/* About Me Section Refinements */
.about-me {
    padding: 0.5rem 10%;
    background-color: #fafafa;
}

.about-me-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-text p:first-of-type {
    font-size: 1.3rem;
    color: #0d3b66;
    font-weight: 500;
}

.about-text a {
    color: #3a7ca5;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
}

.about-text a:hover {
    border-bottom-color: #3a7ca5;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 0 5%;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .about-me {
        padding: 4rem 5%;
    }
}

.nav {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    margin: 0 0 1rem 0;
    animation: fadeIn 0.8s ease-in-out;
}

.nav li {
    display: inline;
}

.nav a {
    text-decoration: none;
    color: #0d3b66;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.nav a:hover {
    background-color: #e9f5ff;
}

/* Connect4 Game Styles */
.connect4-project {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #4a90e2;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

.connect4-project .project-name {
    color: #4a90e2;
    font-weight: 700;
}

@keyframes pulse-glow {
    from {
        box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
        border-color: #4a90e2;
    }
    to {
        box-shadow: 0 0 30px rgba(74, 144, 226, 0.6);
        border-color: #5ba0f2;
    }
}

.connect4-project:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.4);
    border-color: #5ba0f2;
}

.play-now-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.95), rgba(74, 144, 226, 0.95));
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.play-now-overlay .play-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.connect4-project:hover .play-now-overlay {
    opacity: 1;
}

.connect4-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.connect4-modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-in-out;
}

.connect4-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.connect4-header h2 {
    margin: 0;
    color: #0d3b66;
}

.connect4-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

.connect4-close:hover {
    color: #ff4444;
}

.connect4-status {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0;
    min-height: 25px;
    color: #0d3b66;
}

.connect4-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.connect4-controls button {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #0066cc;
    color: white;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.connect4-controls button:hover {
    background-color: #0052a3;
}

.connect4-controls button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.connect4-board {
    display: grid;
    grid-template-columns: repeat(7, 60px);
    grid-template-rows: repeat(6, 60px);
    gap: 5px;
    background-color: #0066cc;
    padding: 15px;
    border-radius: 15px;
    margin: 20px auto;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.connect4-cell {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #004499;
    cursor: pointer;
    background-color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.connect4-cell:hover:not(.player1):not(.player2) {
    background-color: #e0e0e0;
    transform: scale(1.05);
}

.connect4-cell.player1 {
    background-color: #ff4444;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.connect4-cell.player2 {
    background-color: #ffdd44;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .connect4-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .connect4-board {
        grid-template-columns: repeat(7, 45px);
        grid-template-rows: repeat(6, 45px);
        gap: 3px;
        padding: 10px;
    }
    
    .connect4-cell {
        width: 45px;
        height: 45px;
        border: 2px solid #004499;
    }
    
    .connect4-controls button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
