:root {
    --bg: #0b0b0b;
    --card-bg: #161616;
    --white: #f5f5f5; /* La tonalità di bianco richiesta */
    --gray: #888888;
    --island-black: #000000;
}

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

body {
    background-color: var(--bg);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
    overflow-x: hidden;
}

/* Dynamic Island */
.island-wrapper {
    position: fixed;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 9999;
}

.island {
    background: var(--island-black);
    padding: 10px 20px;
    border-radius: 30px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.island.active {
    min-width: 300px;
    height: 80px;
    border-radius: 40px;
}

.island-content.expanded {
    display: none;
    text-align: center;
}

.island.active .default { display: none; }
.island.active .expanded { display: block; }

.dot {
    width: 8px;
    height: 8px;
    background: #34c759;
    border-radius: 50%;
    margin-right: 10px;
}

/* Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.highlight {
    color: var(--white);
    opacity: 0.6;
}

.intro-text {
    color: var(--gray);
    margin-top: 20px;
    font-size: 1.1rem;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 35px; /* Stile molto arrotondato */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--gray);
    letter-spacing: 1px;
}

h2 {
    margin: 15px 0;
    font-size: 1.5rem;
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.maintenance {
    background: linear-gradient(145deg, #161616, #1a1313);
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ff3b30;
    border-radius: 50%;
    float: right;
}

/* Social & Button */
.social-footer {
    text-align: center;
    margin-top: 80px;
}

.thanks {
    margin-bottom: 30px;
    color: var(--gray);
}

.btn-social {
    display: inline-block;
    background: var(--white);
    color: var(--bg);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-social:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Mobile optimization */
@media (max-width: 600px) {
    h1 { font-size: 2.2rem; }
    .island.active { min-width: 90%; }
}